2018 Selenium Chrome版本与chromedriver兼容版本对照表
原网址:https://www.baidu.com/link?url=tB2JFFI7btVAgheWMTwNfGQoMWEAHV7lbgtuvmO40y-oYdgPKEFQgA3Jj-UqdhGEoDYAXQ0VHieKlVYOOFAg7xdwh1Z15iN57lIeAd4Qeli&wd=&eqid=c80211c700054734000000035b18dd77
下面是谷歌浏览器与chromedriver的版本对应关系,供参考:
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
--------------------- 本文来自 YOYO测试 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/yoyocat915/article/details/80580066?utm_source=copy
驱动的下载地址如下:
: https://www.baidu.com/link?url=AICWJqGuSUBTVltiZvdRUsTrOHQ4oi0glUqjDCV92JrRKjt6mHwRc07MB2Mw8NSmcrCs3_psTNkTIpHl63rvzFNhHeJk33fW04xKJ2rkMDG&wd=&eqid=cd10c63500075a82000000035b18dd27 下载后,解压,复制到Chrome快捷方式所在的目录下:
设置环境变量:
IDE下运行生效:
>>> from selenium import webdriver
>>> browser = webdriver.Chrome()