当前位置: 首页 > 工具软件 > Helium > 使用案例 >

helium的chromedriver版本不对应

公冶弘壮
2023-12-01

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包里的就行。

 类似资料: