0
点赞
收藏
分享

微信扫一扫

selenium 安装与 chromedriver安装


安装selenium

selenium可以直接可以用pip安装。


pip install selenium


安装chromedriver

 下载

chromedriver的版本一定要与Chrome的版本一致,不然就不起作用。

有两个下载地址:

1、http://chromedriver.storage.googleapis.com/index.html

2、https://npm.taobao.org/mirrors/chromedriver/

当然,你首先需要查看你的Chrome版本,在浏览器中输入chrome://version/

selenium 安装与 chromedriver安装_chrome

例如我的版本是72.0.3626,所以下载

selenium 安装与 chromedriver安装_Chrome_02


举报

相关推荐

0 条评论