centos 7 中Selenium安装最新版Chrome WebDriver
需求: 需要使用 selenium 对某个网页进行截图 参考:https://blog.csdn.***/weixin_43411585/article/details/140486775 https://www.***blogs.***/nu***ch/p/15063165.html (要vpn打开)
2a8a458834262a7044742345c9a42.png)
一、安装google chrome
1.1 下载地址
linux版本google rmp包下载地址:http://dist.control.lth.se/public/CentOS-7/x86_64/google.x86_64/
测试版地址
https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
这里包含了chrome 和 driver的地址
最新版地址 ChromeDriver Latest Releases Versions Downloads - Chrome for Testing availability:
https://googlechromelabs.github.io/chrome-for-testing/
1.2 注意事项
在这里不要下载最新版本的,不然会报错