geckodriver、chromedriver、IEDriverServer、MicrosoftWebDriver浏览器驱动
要启动相应的浏览器必须要有它的驱动:
geckodriver(Firefox)
https://github.com/mozilla/geckodriver/releases
Firefox浏览器各版本:
http://ftp.mozilla.org/pub/firefox/releases/
MicrosoftWebDriver(edge)
http://go.microsoft.com/fwlink/?LinkId=619687
#请注意,下载后将这2个驱动(exe文件)放在C:\Python27目录
chromedriver
https://sites.google.com/a/chromium.org/chromedriver/home
http://npm.taobao.org/mirrors/chromedriver/
IEDriverServer.exe(ie)
下载地址:http://selenium-release.storage.googleapis.com/index.html
说明:https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver
火狐和edge能下载使用过,需要对应浏览器的版本,我现在用的是最新的,一切正常;
chorme和ie下载不了没使用过
本文详细介绍了启动各大主流浏览器所需的驱动程序,包括geckodriver(Firefox)、chromedriver(Chrome)、IEDriverServer(IE)及MicrosoftWebDriver(Edge)。文中提供了各驱动的下载链接与注意事项,强调驱动需与浏览器版本匹配。
1154

被折叠的 条评论
为什么被折叠?



