Message: unknown error: call function result missing 'value'

python使用selenium进行web自动化测试时报错

Message: unknown error: call function result missing 'value'

原因:插件chromedriver与chrome浏览器版本不匹配

解决方案:

参考文章https://blog.csdn.net/huilan_same/article/details/51896672,找到与当前chrome版本号对应的chromedriver下载并替换

下载地址 https://npm.taobao.org/mirrors/chromedriver/

猜你喜欢

转载自blog.csdn.net/k_prince/article/details/80772386