什么会导致“UnreachableBrowserException:无法启动新会话”?
What can cause `UnreachableBrowserException: Could not start a new session`?
我尝试 运行 与远程 selenium 网络驱动程序服务器交互的 selenium 客户端。
我的部分(仅部分)测试因连接被拒绝而失败。
我应该在托管服务器的机器上检查什么?
com.x.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, 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.
Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 13:11:40'
System info: host: 'w04.hfa.corp.x.com', ip: '172.28.144.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-30-generic', java.version: '1.8.0_25'
Driver info: driver.version: RemoteWebDriver
while locating com.waze.testing.guice.providers.WebDriverProvider
at com.waze.testing.MainModule.configure(MainModule.java:44)
while locating org.openqa.selenium.WebDriver
1 error
at com.x.inject.internal.InjectorImpl.get(InjectorImpl.java:1009)
at com.x.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1035)
at com.waze.testing.cucumber.steps.Hooks.before(Hooks.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Selenium 2.44 和 "Native Method" 回溯中的短语让我认为这是一个 兼容性问题 。 将 selenium 升级到最新(2.46 当前)版本。
我尝试 运行 与远程 selenium 网络驱动程序服务器交互的 selenium 客户端。
我的部分(仅部分)测试因连接被拒绝而失败。
我应该在托管服务器的机器上检查什么?
com.x.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, 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.
Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 13:11:40'
System info: host: 'w04.hfa.corp.x.com', ip: '172.28.144.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-30-generic', java.version: '1.8.0_25'
Driver info: driver.version: RemoteWebDriver
while locating com.waze.testing.guice.providers.WebDriverProvider
at com.waze.testing.MainModule.configure(MainModule.java:44)
while locating org.openqa.selenium.WebDriver
1 error
at com.x.inject.internal.InjectorImpl.get(InjectorImpl.java:1009)
at com.x.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1035)
at com.waze.testing.cucumber.steps.Hooks.before(Hooks.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Selenium 2.44 和 "Native Method" 回溯中的短语让我认为这是一个 兼容性问题 。 将 selenium 升级到最新(2.46 当前)版本。