selenium使用Chrome出现chromedriver
使用selenium登录Chrome报以下错误:
selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH.
解决方法:
将chromedriver.exe放到python的文件夹中,再次运行代码就ok了。
**chromedriver.exe下载链接:**https://pan.baidu.com/s/1nfKjt9EvfyQEXmVgn4xwNw
提取码:ff1h