在自动化测试领域,Selenium无疑是一个不可或缺的工具。它允许开发者编写脚本来模拟用户在浏览器中的操作,从而进行自动化测试。然而,为了使用Selenium控制不同的浏览器,我们需要安装相应的浏览器驱动(WebDriver)。
(1)Chrome浏览器驱动(chromedriver ):http://chromedriver.storage.googleapis.com/index.htmlhttp://chromedriver.storage.googleapis.com/index.html
(2)Firefox浏览器驱动(geckodriver):Releases · mozilla/geckodriver · GitHub
(3)Edge浏览器驱动(MicrosoftWebDriver):Releases · mozilla/geckodriver · GitHub
(4)IE浏览器驱动(IEDriverServer):
(5)Opera浏览器驱动(operadriver):Releases · operasoftware/operachromiumdriver · GitHubOperaDriver for Chromium-based Opera releases. Contribute to operasoftware/operachromiumdriver development by creating an account on GitHub.https://github.com/operasoftware/operachromiumdriver/releases
(6)PhantomJS浏览器驱动(phantomjs):Releases · operasoftware/operachromiumdriver · GitHubOperaDriver for Chromium-based Opera releases. Contribute to operasoftware/operachromiumdriver development by creating an account on GitHub.https://github.com/operasoftware/operachromiumdriver/releases