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,240 points
17 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,400 points

Related Questions In Selenium

0 votes
1 answer

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

You can explore options like HTMLUnit Driver ...READ MORE

answered Mar 23, 2018 in Selenium by nsv999
• 5,050 points
177 views
0 votes
1 answer
0 votes
1 answer

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

Download the executable driver from: ChromeDriver Download Before ...READ MORE

answered Mar 29, 2018 in Selenium by nsv999
• 5,050 points
180 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,050 points
5,783 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,050 points
264 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,130 points
629 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,130 points
258 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,400 points
95 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,400 points
50 views