【发布时间】:2011-06-29 06:58:10
【问题描述】:
官方 Google Selenium Wiki (http://code.google.com/p/selenium/wiki/ChromeDriver) 中的示例代码 sn-ps 都不适合我。无论是独立启动 Selenium 服务器还是使用 ChromeDriverService,它都会挂在“new RemoteWebDriver(...)”行。这是我控制台上的输出:
/tmp/chromedriver: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
Jun 29, 2011 8:46:58 AM org.openqa.selenium.net.UrlChecker waitUntilAvailable
INFO: Waiting for [Ljava.net.URL;@16df84b
Jun 29, 2011 8:46:58 AM org.openqa.selenium.net.UrlChecker$1 call
INFO: Polling http://localhost:21461/status
Jun 29, 2011 8:46:58 AM org.openqa.selenium.net.UrlChecker$1 call
INFO: Polling http://localhost:21461/healthz
Jun 29, 2011 8:46:59 AM org.openqa.selenium.net.UrlChecker$1 call
INFO: Polling http://localhost:21461/status
...
它一直在轮询 healthz 和 status 吗?
【问题讨论】:
标签: java google-chrome selenium-webdriver