运行selnium脚本时报WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

解决办法,下载Chromedriver,放到Chrome安装路径\Google\Chrome\Application,添加到环境变量Path中,将ChromeDriver放到python的安装目录中,再运行脚本成功解决问题。

Chromedriver下载地址  WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

posted @ 2017-08-16 09:45  测试小工工  阅读(205)  评论(0编辑  收藏  举报