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
33 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,420 points

Related Questions In Selenium

0 votes
2 answers
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 in Selenium by Abha
• 27,180 points
318 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,110 points
8,555 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,110 points
1,017 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
1,158 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
896 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,420 points
165 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,420 points
94 views