linux centos 部署chromedriver抓包流程

依次执行以下命令

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum install -y lsb
yum install -y libXScrnSaver
yum localinstall google-chrome-stable_current_x86_64.rpm

google-chrome -version // 假设输出结果为,108.xx.xx
"访问https://chromedriver.storage.googleapis.com
找到与version对应的版本,大版本就行,比如108.xx.xx,那么下载108开头的版本chromedriver就行了"

wget https://chromedriver.storage.googleapis.com/108.0.5359.22/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
mv chromedriver /usr/bin/

ok,至此,部署完毕

猜你喜欢

转载自blog.csdn.net/u010775335/article/details/128634166