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.