话不多,直接上地址:https://googlechromelabs.github.io/chrome-for-testing/#stable 选择对应的版本即可 问题一:如果以前安装过低版本的ChromeDriver,替换完ChromeDriver后,需要修改环境变量,以mac本为例,修改完后重启电脑 echo 'export PATH=$PATH:/usr/local/bin/chromedriver' >> ~/.bash_profile source ~/.bash_profile