安装chromedriver
下载chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
下载chromedriver
wget https://npm.taobao.org/mirrors/chromedriver/2.40/chromedriver_linux64.zip
解压
unzip chromedriver_linux64.zip
将其移至/usr/bin/:
mv chromedriver /usr/bin/
配置环境变量
export PATH="$PATH:/usr/local/chromedriver"
source ~/.profile
验证
chromedriver