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
Post a Comment