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?
Where does Selenium WebDriver (a.k.a Selenium 2) get the anonymous profile that it uses
Share
I will answer it, supporting comment from @twall: When starting firefox in Selenium 2 WebDriver, it starts new, anonymous profile.
However, if you want to change it, you can create new Firefox profile and name it somehow, you know what it is – e.g.
SELENIUMThen in your code do this:
That way, Firefox will always start that profile. In the profile you do all the settings you need