Firefox opens first run page in WebDriver

0 votes

How to disable the "first run" page in Firefox.

When the firefox driver is created, it opens this tab https://www.mozilla.org/en-US/firefox/42.0/firstrun/learnmore/ and also amny additional tab with target page.  How to stop this from opening each time while I execute the test script

May 31, 2018 in Selenium by Atul
• 10,250 points
49 views

1 answer to this question.

0 votes

In C# with Selenium you can use the below code:

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);

Using this you will solve the problem

answered May 31, 2018 by Meci Matt
• 9,460 points

Related Questions In Selenium

0 votes
2 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi Shubham, you can use headless browsers ...READ MORE

answered Aug 22, 2019 in Selenium by Abha
• 27,780 points
404 views
0 votes
1 answer
0 votes
2 answers

Can anyone help me that how to run Selenium WebDriver test cases in Chrome?

You first need to download chrome driver ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,780 points
445 views
0 votes
1 answer

How to scroll the Page up or down in Selenium WebDriver? (using java)

Its pretty simple. Check out the below ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,510 points
10,447 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
1,911 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,870 points
1,657 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,870 points
1,539 views
0 votes
1 answer

What is Page Object Model in Selenium WebDriver?

If you want to learn about Selenium ...READ MORE

answered Jun 14, 2018 in Selenium by Meci Matt
• 9,460 points
244 views
0 votes
1 answer

Refreshing web page in Selenium WebDriver

you can use the below code to ...READ MORE

answered Jun 18, 2018 in Selenium by Meci Matt
• 9,460 points
160 views