1.安装Chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
2.查看Chrome版本号
google-chrome --version
3.根据Chrome版本号下载ChromeDriver
在http://chromedriver.storage.googleapis.com/index.html页面找对应版本的ChromeDriver
下载地址
下载
wget http://chromedriver.storage.googleapis.com/版本号/chromedriver_linux64.zip
解压
unzip chromedriver_linux64.zip
移动
mv chromedriver /usr/bin