2012-10-23 65 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的較新版本可能值得嘗試。