WebDriver Chrome问题

时间:2012-10-23 15:14:00

标签: selenium-webdriver selenium-chromedriver

操作系统:Windows。使用selenium webdriver。我下载了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

2 个答案:

答案 0 :(得分:1)

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

答案 1 :(得分:0)

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