What profile does Selenium WebDriver use by default?

Viewed 46773

Where does Selenium WebDriver (a.k.a Selenium 2) get the anonymous profile that it uses when it opens FirefoxDriver? If it used the default for Firefox, %appdata%/roaming/mozilla/firefox/profiles, then if I were to disable a firefox plugin, it should be disabled for Selenium WebDriver also, so why isn't it?

4 Answers

You can assign to each Selenium grid 2 node a specific firefox profile:

java -jar selenium-server-standalone-2.37.0.jar -Dwebdriver.firefox.profile=my-profile -role node -hub http://example-server.org:4444/grid/register

Notice that the value of the webdriver.firefox.profile has to be the firefox profile name, not the location or the folder name

Related