Back
How to disable this "first run" page once and for all for FF?
When FF driver is created, it opens tab with - https://www.mozilla.org/en-US/firefox/42.0/firstrun/learnmore/ and additional tab with target page.
This should work:
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");
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");
31k questions
32.8k answers
501 comments
693 users