#https://chromedriver.storage.googleapis.com/index.html 查看chromedriver的版本
wget https://chromedriver.storage.googleapis.com/index.html?path=80.0.3987.106/
[root@localhost ~]# vi /ect/yum.repos.d/google-chrome.repo
#repo内容编辑如下:
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
#安装
yum -y install google-chrome-stable --nogpgcheck
#查看
google-chrome --version
参考:https://www.cnblogs.com/qiaoliming/p/chrome.html