When you start mozilla

driver = new FirefoxDriver(); 

A page opens - https://www.mozilla.org/en-US/firefox/48.0.2/firstrun/learnmore/ . After that, auto tests do not pass on.

How can I get around this problem?

Update

 static protected WebDriver driver; System.out.println ("Before Mozilla"); System.setProperty("webdriver.firefox.bin","C:\\Program Files (x86)\\Mozilla Firefox\\Firefox.exe"); driver = new FirefoxDriver(); //(); System.out.println ("After Mozilla"); 
  • Try to write more detailed questions. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky
  • After opening the browser window, I certainly want to go to a specific address. Now, because of this page - I can not. Does not pass autotest further. - Inna
  • The test is written in java. I do not know what else to add. - Inna
  • For example, the test code and how you run it, as well as the basic parameters of the environment. In the current form, with high probability, no one can help you, because it is not at all clear what is happening with you. - Nicolas Chabanovsky
  • And the control one - After Mozilla - I don’t see it. A browser is open on the page firstrun. - Inna

0