chromedriver: Waiting for all views to stop loa...

本地的chrome是20的版本,用webdriver的python binding把chrome啓動起來,在執行driver.get()時,要1,2分鐘以後纔可以返回,對應的chromedriver.log以下。


[1.311][FINE]:      Command received (/session/5c706f91eef0f0e59cc26d98a140518b/url) with params {
   "sessionId": "5c706f91eef0f0e59cc26d98a140518b",
   "url": "http://10.24.72.59:8080/wpa/wpa.html"

} html

[1.312][FINER]:     Waiting for all views to stop loading...  python

[1.313][FINER]:     Done waiting for all views to stop loading web

[72.038][FINER]:    Waiting for all views to stop loading...  chrome

[72.047][FINER]:    Done waiting for all views to stop loading cookie

[72.047][FINE]:     Command finished (/session/5c706f91eef0f0e59cc26d98a140518b/url) with response {  session

   "sessionId": "5c706f91eef0f0e59cc26d98a140518b",
   "status": 0,
   "value": {
   }

} google

[72.062][FINE]:     Command received (/session/5c706f91eef0f0e59cc26d98a140518b/cookie)  url

[72.063][FINER]:    Waiting for all views to stop loading... code

[72.070][FINER]:    Done waiting for all views to stop loading  htm

具體緣由不是很清楚,從googlecode上看,這個坑已經埋了有段時間了。https://code.google.com/p/chromedriver/issues/detail?id=121 暫時的解決方案就是更換chrome的版本,先Mark下,有時間再跟蹤。
相關文章
相關標籤/搜索