2012-10-23 41 views
2

操作系统:Windows。使用硒webdriver。我downloded chromedriver.exe,设置路径它,铬乳宁却是循序渐进而不是运行,这是日志:WebDriver 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 

回答

0

你有没有试过设置了代理?你知道你是否需要设置一个代理?

+0

我不知道... –

1

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