Tag: 驱动程序铬网页驱动程序

Webdriverexception:“chrome not reachable”

我在ubuntu服务器上运行seleniumtesting用例,这个服务器基本上在firefox和chrome中运行testing用例。 Firefox启动并且testing用例运行成功,但是chrome抛出exception: *****下面是stacktrace的片段:***** 在端口21549上启动ChromeDriver(v2.8.240825) PAC支持被禁用,因为没有系统实现 testingIntegrationTest.AdminUserelementscheck失败: org.openqa.selenium.WebDriverException:chrome not reachable(驱动程序信息:chromedriver = 2.8.240825,platform = Linux 2.6.32-431.el6.x86_64 x86_64)(警告:服务器没有提供任何堆栈跟踪信息)[error]命令持续时间或超时时间:20.83秒 嗨下面是我的代码的小片段: public class IntegrationTest { private static final String configFile="test.properties"; private final String FIREFOX="firefox"; private final String CHROME="chrome"; private final String PHANTOMJS="phantomjs"; private final String BROWSERNAME="browser"; private static Properties props = new Properties(); public WebDriver webDriver; private static Configuration additionalConfigurations; […]