selenium模块,web自动化,环境配置
官方技术文档:https://www.selenium.dev/
1.谷歌浏览器chrome下载安装
https://www.google.com/chrome
查看安装版本号:(需要安装对应浏览器驱动版本)
:-->帮助-->关于
2.安装谷歌浏览器驱动chromedriver(可直接放入python程序目录)
https://googlechromelabs.github.io/chrome-for-testing/
3.关闭谷歌浏览器自动更新,防止驱动版本不对应而失效
进入服务,关闭与谷歌相关的所有(如果有)
4.安装第三方库selenium

浙公网安备 33010602011771号