How to disable the “first run” page in Firefox. When the firefox driver is created, it opens the below tab. Also any additional tab with target page. How to stop this from opening each time while I execute the test script?
Hi Alex Walker,
In C# with Selenium you can use the below code to disable the “first run” page in Firefox:
FirefoxProfile profile = new FirefoxProfile();
profile.SetPreference("browser.startup.homepage_override.mstone", "ignore");
profile.SetPreference("startup.homepage_welcome_url.additional", "about:blank");
Driver = new FirefoxDriver(profile);