天天看點

selenium.common.exceptions.WebDriverException: Message: unknown error: call function resul

報錯環境:

使用selenium和Chrome做模拟使用者登陸的操作

解決方法:

更換驅動檔案,去官網(需要翻牆)或者淘寶鏡像,找到chromedriver下載下傳最新更新的版本既可,替換後再運作就沒有報錯了。

  • chromedriver官網:https://sites.google.com/a/chromium.org/chromedriver/
  • 淘寶鏡像:http://npm.taobao.org/mirrors

繼續閱讀