这几天在学Python+selenium自动化,对三大浏览器Firefox,Chrome和IE都做了尝试,也都分别下载了对应的webdriver,如:geckodriver、chromedriver、IEDriverServer,并且把它们都放到python.exe的同级目录下,如下图:

用Python+selenium打开IE浏览器和Chrome浏览器的问题

IEDriver: http://selenium-release.storage.googleapis.com/index.html

https://blog.csdn.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.csdn.net/huilan_same/article/details/51896672

用Python+selenium打开IE浏览器和Chrome浏览器的问题

 

相关文章:

  • 2021-09-13
  • 2022-02-10
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-09-26
猜你喜欢
  • 2021-10-22
  • 2021-08-15
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案