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");
30.9k questions
32.9k answers
500 comments
665 users