打开网页 https://registry.npmmirror.com/binary.html?path=chromium-browser-snapshots/ 查找对应内核的chrome 浏览器
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*; sudo apt-get -f install
google-chrome --version
打开网页 https://registry.npmmirror.com/binary.html?path=chromedriver/ 查找对应版本chromedriver
cd /tmp wget https://registry.npmmirror.com/-/binary/chromedriver/104.0.5112.79/chromedriver_linux64.zip
unzip chromedriver_linux64.zip /usr/bin
检查 /etc/profile 文件中是否有path 指向 /usr/bin 这个目录 如果没有,请手动添加 export PATH=$PATH:/usr/local/bin/ChromeDriver 然后输入 source /etc/profile 同步变量
chromedriver