一:安装selenium
pip3 install selenium
二 安装chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
三 安装chrome-driver
查看自己的chrome版本,因为是安装的稳定版 yum list | grep chrome 所以就是图中所示的版本
下载chrome-driver 去官网找到对应的chrome版本
https://npm.tao