一、问题描述:
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浏览器。