我有一点疑问。为什么我们需要IEDriver和ChromeDriver,但没有Firefox驱动程序?
为什么我们需要IEDriver和Chrome驱动程序在IE和Chrome中运行硒scrits,但是我们不需要使用Firefox驱动程序来运行脚本?
有什么理由相同吗?
我有一点疑问。为什么我们需要IEDriver和ChromeDriver,但没有Firefox驱动程序?
为什么我们需要IEDriver和Chrome驱动程序在IE和Chrome中运行硒scrits,但是我们不需要使用Firefox驱动程序来运行脚本?
有什么理由相同吗?
Chrome Driver, IE driver, etc.,
]都是基于每个浏览器使用的特殊JS引擎构建的。外部驱动程序是Selenium开发人员首选的过程。它们允许驱动程序的版本控制与Selenium的关系更接近浏览器,并且他们可以得到浏览器作者(,例如,ChromeDriver,OperaDriver)的支持。基于Mozilla的“Marionette”体系结构,Mozilla支持的驱动程序取代FirefoxDriver是一项长期计划。
Firefox驱动程序已包含在selenium-server-standalone.jar包中。
直接从谷歌搜索FirefoxDriver
的official documentation状态:
Firefox的驱动程序包含在下载使用硒 - 服务器stanalone.jar。驱动程序以xpi(Firefox扩展)的形式出现,当您启动FirefoxDriver的一个新实例时,它将添加到Firefox配置文件中。
从Firefox 47开始,这不再是事实。与IE和Chrome一样,驱动程序(Marionette)也被排除在FF源之外。在这里看到更多:https://github.com/SeleniumHQ/selenium/issues/1862 – GaZ
从Firefox 47开始,这不再是事实。与IE和Chrome一样,驱动程序(Marionette)也被排除在FF源之外。在这里看到更多:https://github.com/SeleniumHQ/selenium/issues/1862 – GaZ