这几天在学Python+selenium自动化,对三大浏览器Firefox,Chrome和IE都做了尝试,也都分别下载了对应的webdriver,如:geckodriver、chromedriver、IEDriverServer,并且把它们都放到python.exe的同级目录下,如下图:
IEDriver: http://selenium-release.storage.googleapis.com/index.html
https://blog.****.net/jichuang123/article/details/53008581
IE如果一直起不来,可能是下面的原因:
https://www.cnblogs.com/testway/p/6037774.html
在这里尤其要注意chrome浏览器要与chromedriver的版本必须对应,不然会一直出错。
ChromeDriver版本下载地址: http://chromedriver.storage.googleapis.com/index.html
Chrome版本对应的ChromeDriver版本:http://blog.****.net/huilan_same/article/details/51896672