1.安装chorme driver驱动
下载地址如下:http://chromedriver.storage.googleapis.com/index.html
谷歌浏览器对应浏览器驱动:
ChromeDriver v2.43 (2018-10-16)----------Supports Chrome v69-71 ChromeDriver v2.42 (2018-09-13)----------Supports Chrome v68-70 ChromeDriver v2.41 (2018-07-27)----------Supports Chrome v67-69 ChromeDriver v2.40 (2018-06-07)----------Supports Chrome v66-68 ChromeDriver v2.39 (2018-05-30)----------Supports Chrome v66-68 ChromeDriver v2.38 (2018-04-17)----------Supports Chrome v65-67 ChromeDriver v2.37 (2018-03-16)----------Supports Chrome v64-66 ChromeDriver v2.36 (2018-03-02)----------Supports Chrome v63-65 ChromeDriver v2.35 (2018-01-10)----------Supports Chrome v62-64
2.在浏览器安装目录放置下载的浏览器驱动
C:\Program Files (x86)\Google\Chrome\Application
3.python安装目录放置下载的浏览器驱动
D:\python