Centos 7 部署 selenium + chrome + chromedriver
版本要求:
centos 7
selenium >= 3.14
chrome 与 chromedriver 版本对应
NO.1 安装 chrome
curl https://intoli.com/install-google-chrome.sh | bash
google-chrome-stable --version # 查看版本,确认是否安装成功
NO.2 安装 chromedriver
wget https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/local/bin/
chromedriver -v # 查看版本,确认是否安装成功

本文档详细介绍了如何在Centos 7上部署selenium、chrome浏览器和chromedriver。内容涵盖从安装chrome到配置java-8,更新yum源,安装pip和selenium-server-standalone-3.14.0.jar的步骤,确保所有组件版本匹配。
最低0.47元/天 解锁文章
1575

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



