Firefox webdriver opens first run page all the time Firefox webdriver opens first run page all the time selenium selenium

Firefox webdriver opens first run page all the time


To turn off this annoying start page:

More protection. The most privacy. Mozilla Firefox firstrun screen

in C# with Selenium 2.48 I found the following solution:

FirefoxProfile prof = new FirefoxProfile();prof.SetPreference("browser.startup.homepage_override.mstone", "ignore");prof.SetPreference("startup.homepage_welcome_url.additional",  "about:blank");Driver = new FirefoxDriver(prof);

...and it will never bother you again.

Note: One of these settings alone will also work. I use them together to make it bullet-proof.


Ifound a solution, works fine

FirefoxProfile fp = new FirefoxProfile();fp.setPreference("browser.startup.homepage", "about:blank");fp.setPreference("startup.homepage_welcome_url", "about:blank");fp.setPreference("startup.homepage_welcome_url.additional", "about:blank");


I have faced the same problem. I have just changed the Selenium version to 2.48 and the problem solved.