使用Mars.2 Release(4.5.2)和Firefox 47.0来运行我的硒代码,但每次运行时我都是得到这个Firefox 47.0,硒selenium-java-2.53.0 windows64 org.openqa.selenium.remote.UnreachableBrowserException
堆栈跟踪:
"Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException:
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure."
的可能的复制[无法打开浏览器与Firefox更新后硒(http://stackoverflow.com/questions/37761668/cant-open-browser-with-selenium-after-firefox-update) – Mobrockers
同意以上,可能重复。这个问题是由于Firefox转移到多进程(代码名称e10),需要新的驱动程序来处理这个问题。这是一个已知的问题,开始启用e10的firefox开发者版本。 – mootmoot
MDN也修改FF 47.0,降级到46使用新的驱动程序。 https://github.com/seleniumhq/selenium/issues/2110 – mootmoot