2

操作系统:Windows。使用硒网络驱动程序。我下载了 chromedriver.exe,为其设置路径,chrome 运行但步骤未运行,这是日志:

    Started ChromeDriver
    port=26306
    version=14.0.836.0
    log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
    log4j:WARN Please initialize the log4j system properly.
    .\test\automation\proxy_launcher.cc(89): error: Value of: app_launched
      Actual: 1
    Expected: AUTOMATION_SUCCESS
    Which is: 0
    Error while awaiting automation ping from browser process
    .\test\automation\proxy_launcher.cc(223): error: Value of: automation()->GetBrowserWindowCount(&window_count)
      Actual: false
    Expected: true
    .\test\automation\proxy_launcher.cc(244): error: Value of: browser_proxy.get()
      Actual: false
    Expected: true
    .\test\automation\proxy_launcher.cc(269): error: Value of: WaitForBrowserProcessToQuit( TestTimeouts::action_max_timeout_ms(), &exit_code)
      Actual: false
    Expected: true
    .\test\automation\proxy_launcher.cc(270): error: Value of: exit_code
      Actual: -1
    Expected: 0
4

2 回答 2

1

较新版本的 chromedriver.exe 可能值得一试。

于 2012-10-31T22:49:21.410 回答
0

您是否尝试过设置代理?你知道是否需要设置代理吗?

于 2012-10-24T16:27:42.287 回答