Re: [webdriver] Choosing custom profile from webdriver

16 views
Skip to first unread message

Krishnan Mahadevan

unread,
May 19, 2013, 12:19:35 PM5/19/13
to webd...@googlegroups.com
Webdriver DOESNOT load the actual profile but makes a copy of your actual profile and loads it as an anonymous profile. How are you stating that your actual profile is NOT being loaded ?

On Tuesday, May 14, 2013, Santiago Hernández wrote:
Hi all,

I have been working on this all the afternoon, I tried it on different vms and firefox versions (From 12 to 20) and also with different webdriver versions, from 2.27 to 2.32

My code is the following:

public WebDriver setFirefoxDriver() {
        ProfilesIni allProfiles = new ProfilesIni();
        FirefoxProfile profile = allProfiles.getProfile("someName");
        FirefoxDriver driver = new FirefoxDriver(profile);
        return driver;
    }

Where someName is setted in a xml file (testng suite) and loaded in my framework, I debugged it and is perfectly setted, the profile is created on firefox but Webdriver is always opening an annonymous profile.

Can you see if I am missing something?

Regards,

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
Reply all
Reply to author
Forward
0 new messages