chromedriver版本支持的Chrome版本v2.36v64-66v2.35v62-64v2.34v61-63v2.33v60-62v2.32v59-61v2.31v58-60v2.30v58-60v2.29v56-58v2.28v55-57v2.27v54-56v2.26v53-55v2.25v53-55v2.24v52-54v2.23v51-53v2.22v49-52v2.21v46-50v2.20v43-48v2.19v43-47v2.18v43-46v2.17v42-43v2.13v42-45v2.15v40-43v2.14v39-42v2.13v38-41v2.12v36-40v2.11v36-40v2.10v33-36v2.9v31-34v2.8v30-33v2.7v30-33v2.6v29-32v2.5v29-32v2.4v29-32
chromedriver可在下面链接中下载到:
http://chromedriver.storage.googleapis.com/index.html
注意:
下载将解压得到的chromedriver.exe文件copy到chrome的安装路径下,我的如下C:\Program Files (x86)\Google\Chrome\Application,再将此路径添加到环境变量path中,如果还报错信息 “from selenium import webdriverImportError: cannot import name webdriver” 再将此chromedriver.exe文件copy到D:\Python36\Scripts路径下。