webdriver browser and download the corresponding version of the driver

Webdriver for each browser and version correspondence, I recently discovered that the browser has driven a corresponding reference in the source selenium library, the path is: python> site-packages> selenium > webdriver> browser folder name> service.py in, there will be a link to the url official website, where I put the source in its own summary and address are summarized below.

Google browser and download the corresponding driver version:

Click to download chrome of webdriver: http: //chromedriver.storage.googleapis.com/index.html

history of chrome version Download: https: //www.chromedownloads.net/

click into Google The official version of the corresponding page: HTTPS: //sites.google.com/a/chromium.org/chromedriver/downloads

edge browser and download the corresponding driver version:

click into Microsoft's browser wendriver edge version corresponds to the download page: https: // developer .microsoft.com / EN-US / in the Microsoft-Edge / Tools / webdriver / # Downloads

ie browser driven official address:

click to enter ie browser download driver: http: //selenium-release.storage.googleapis.com/index. html

click to go to ie browser official GitHub: HTTPS: //github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver

Safari browser official address:

Click into the safari browser official address: HTTPS: //developer.apple.com/safari/download/

 

 
1. Google Browser:

for chrome browser, sometimes the situation will flash back, maybe sometimes conflicting versions of the problem we want to control on the shining table view is not webdriver and chrome version does not correspond
webdriver version of the chrome version

 

 

 

 


(备注:图片信息来源:https://blog.csdn.net/huilan_same/article/details/51896672)

点击下载chrome的webdriver:http://chromedriver.storage.googleapis.com/index.html

点击下载chrome的历史版本:https://www.chromedownloads.net/

 
2.火狐浏览器

对于火狐浏览器,对应的driver只能兼容47版本一下的,大家可以试一下自己下载的火狐浏览器能否使用我这个driver运行,无法运行的话在使用我这个版本的火狐浏览器。

这里把低版本的火狐安装包和driver地址如下:

链接:http://pan.baidu.com/s/1bECua6 密码:nkue

 
3.IE浏览器
ie浏览器的版本对应这个并没有找到具体所对应的版本,不过据我实测的结果,一般用2.5版本比较好一些(ie11)

我们通过这个地址来下载:http://selenium-release.storage.googleapis.com/index.html

除此之外,还要通过:工具> internet选项>安全

在里面如图的四个选项,把保护模式设置为全部勾选或者全部不勾选

 

 


 

来源:https://blog.csdn.net/CCGGAAG/article/details/76094025?utm_source=blogxgwz1

Guess you like

Origin www.cnblogs.com/peachh/p/12047988.html