python使用selenium webdriver chrome


安装selenum包

pip install selenium

安装chrome驱动

查看chrome版本

图片[1] - python使用selenium webdriver chrome - MaxSSL
图片[2] - python使用selenium webdriver chrome - MaxSSL

安装驱动

下载地址:https://googlechromelabs.github.io/chrome-for-testing/#stable
图片[3] - python使用selenium webdriver chrome - MaxSSL
找到符合版本的驱动下载,解压,把解压后的路径加入PATH环境变量中:
图片[4] - python使用selenium webdriver chrome - MaxSSL

python编码

请参考:https://blog.csdn.net/ZIYE_190/article/details/130086100

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享