helium的chromedriver版本不对应

helium的chromedriver版本不对应,第1张

helium的chromedriver版本默认为89

而你电脑上的chrome一般版本比较新

所以要将helium包里面的chromedriver.exe替换为对应的新版本;

helium包里面的chromedriver.exe在哪里呢?

你直接

pip uninstall helium
然后提示:
Found existing installation: helium 3.0.8
Uninstalling helium-3.0.8:
Would remove:
d:\programdata\anaconda3\lib\site-packages\helium-3.0.8.dist-info*
d:\programdata\anaconda3\lib\site-packages\helium*
Proceed (y/n)?

这样就能找到helium的位置
然后chromedriver.exe在helium/_impl/webdrivers这里。
再去https://chromedriver.chromium.org/downloads

下载chromedriver较新的版本替换掉helium包里的就行。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/738304.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-28
下一篇 2022-04-28

发表评论

登录后才能评论

评论列表(0条)

保存