python 安装selenium首次运行错误selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

时间:2021-02-25 17:21:34

python 安装selenium首次运行错误selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

问题原因:

没有安装相关的支撑driver

https://npm.taobao.org/mirrors/chromedriver/ 下载对应的driver

放置到python路径下

python 安装selenium首次运行错误selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH