一、問題描述:
python自動化測試腳本報錯,報錯信息如下:selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing,之前一直運行的好好的。
二、問題原因:
chrome瀏覽器自動升級。導致和chromedriver支持的版本不匹配。
三、解決方案
(1)下載和chrome瀏覽器版本匹配的chromedriver。
驅動的下載地址如下:
http://chromedriver.storage.googleapis.com/index.html
(2)卸載chrome瀏覽器,下載和chromedriver版本匹配的chrome瀏覽器。