selenium自动化脚本错误总结

问题1:

python自动化测试脚本报错,报错信息如下:selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing,之前一直运行的好好的。

:问题原因:

chrome浏览器自动升级。导致和chromedriver支持的版本不匹配。

解决方案

(1)下载和chrome浏览器版本匹配的chromedriver。

官方地址:http://chromedriver.storage.googleapis.com/index.html

国内可用地址:https://npm.taobao.org/mirrors/chromedriver

测试狗一枚
原文地址:https://www.cnblogs.com/123blog/p/8926872.html