遇到selenium.common.exceptions.WebDriverException问题
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
遇到这个问题多半是由于python找不到这个文件,最简单的就是直接把Chrome driver的可执行文件放在python的项目目录下,然后就可以执行了,亲测有效。
附:
如何快速下载、安装和配置对应chrome版本的chromedriver
https://jingyan.baidu.com/article/f7ff0bfcdd89ed2e27bb1379.html
Chrome浏览器怎么设置成中文
https://jingyan.baidu.com/article/2fb0ba40e38fea00f2ec5f94.html