java - Selenium FirefoxDriver stopped working after switch to ChromeDriver and back -


i wanted try selenium chrome did changes code according page https://sites.google.com/a/chromium.org/chromedriver/getting-started

from:

webdriver driver = new firefoxdriver(); 

to:

system.setproperty("webdriver.chrome.driver", "/path/to/chromedriver"); webdriver driver = new chromedriver(); 

it worked fine , after few successful tests moved firefox driver. since moment when run test there problem. firefox window opened, there message firefox stopped working , in log see error.

error:

org.openqa.selenium.remote.unreachablebrowserexception: not start new session. possible causes invalid address of remote server or browser start-up failure.

i can see in firefox url text about:blank&utm_content=firstrun before crashes.

when use chromedriver again works fine it.

i'm using windows 10, firefox 47.0.1.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -