更新google浏览器
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
查看浏览器版本 google-chrome --version
更新google驱动(下载对应的版本 CNPM Binaries Mirror)
wget http://npm.taobao.org/mirrors/chromedriver/110.0.5481.177/chromedriver_linux64.zip
将下载的文件解压,放在如下位置
unzip chromedriver_linux64.zip
/usr/bin/chromedriver
给予执行权限
chmod +x /usr/bin/chromedriver