# 指定yum源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
# 下载并安装
curl https://intoli.com/install-google-chrome.sh | bash
ldd /opt/google/chrome/chrome | grep "not found"
# 测试浏览器
google-chrome-stable --no-sandbox --headless --disable-gpu --screenshot https://www.baidu.com/
国内镜像下载地址:http://npm.taobao.org/mirrors/chromedriver/
通过google-chrome --version
查看需要下载的对应版本的driver