国外源centos8安装selenium
(1)安装chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
google-chrome -version
(2)安装chromedriver
历史版本https://chromedriver.storage.googleapis.com/index.html找到对应的驱动版本
wget https://chromedriver.storage.googleapis.com/104.0.5112.79/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
mv chromedriver /usr/bin/
chromedriver --version
(3)安装selenium
pip3 install selenium