这里写自定义目录标题
前提条件,已安装了Python环境。
1. 安装 selenium
pip install selenium
2. 下载Chrome浏览器
下载完以后,打开Chrome,帮助-关于Google Chrome查看Chrome版本
3. 下载ChromeDriver
下载地址: Chrome for Testing availability.
前三位版本号一致即可。
3.1 解压出来的chromedriver.exe放到Python安装目录
Python地址通过where python命令查找:
C:\Users\ws>where python
C:\Users\ws\AppData\Local\Programs\Python\Python310\python.exe
我的 chromedriver.exe放到这里
C:\Users\ws\AppData\Local\Programs\Python\Python310
3.2 解压出来的chromedriver.exe放到Chrome安装目录
我的 chromedriver.exe 放到这里
C:\Program Files\Googl
Selenium+Chrome driver环境配置指南

最低0.47元/天 解锁文章
437

被折叠的 条评论
为什么被折叠?



