安装

mkdir -p /root/webdriver-install/chromedriver
cd /root/webdriver-install/chromedriver
下载
[root@bjc-yuji-123015 webdriver-install]# ls
chromedriver
google-chrome-stable_current_x86_64_72.0.3626.81.rpm
安装 chrome
sudo yum localinstall google-chrome-stable_current_x86_64_72.0.3626.81.rpm
授权
chmod -R 777 /root/webdriver-install/chromedriver
软链接 chromedriver
ln -s /root/webdriver-install/chromedriver/chromedriver /usr/bin/chromedriver

查看安装情况

google-chrome -version
chromedriver -version

批量杀死相关进程

ps -ef | grep webdriver | grep -v grep | cut -c 9-15 | xargs kill -9
ps -ef | grep chrome | grep -v grep | cut -c 9-15 | xargs kill -9