哪个 Firefox 版本与 Selenium 3.6.0 兼容 [英] Which Firefox version is compatible with Selenium 3.6.0
问题描述
我想更新 Selenium 版本 3.6.0,如果不使用 Gecko 驱动程序,我想知道哪个版本的 FF 最好?
I would like to update the Selenium version 3.6.0 and I was wondering which is the best version of FF to use if Gecko driver is not used?
任何帮助将不胜感激.
推荐答案
Selenium with Gecko Driver
Selenium 发布前景:
Selenium v3.6.0 (Java) Release 没有明确提及任何依赖项.
Selenium with Gecko Driver
Selenium Release Perspective :
Selenium v3.6.0 (Java) Release explicitly didn't mention any dependency explicitly.
Selenium 明确提到的最后一个依赖项是针对 v3.4.0 的,如下所示:
The last dependency explicitly mentioned by Selenium was for v3.4.0 which is as follows :
Geckodriver 0.16 is strongly recommended
GeckoDriver 发布前景:
GeckoDriver v0.19.0
:Firefox 55.0(及更高版本)&Selenium 3.5(及更高版本)GeckoDriver v0.18.0
:Firefox 53.0(及更高版本)GeckoDriver v0.16.0
:Selenium 3.4(及更高版本)
Mozilla Firefox 版本:
理想情况下,每个 Selenium
版本都应该支持 Mozilla Firefox
版本的每个版本(从 Firefox 48 开始.x) 其中属性 "marionette"
需要设置为 true
(或者通过 default 或通过配置)如下:
cap = DesiredCapabilities().FIREFOX
cap["marionette"] = True
如果您使用旧的 Firefox
版本(直到 Firefox 47.x)GeckoDriver
仍然有效,但您必须将属性 "marionette"
显式设置为 false
,如下所示:
If you are working with the legacy Firefox
releases (till Firefox 47.x) GeckoDriver
still works but you have to explicitly set the property "marionette"
to false
as follows:
cap = DesiredCapabilities().FIREFOX
cap["marionette"] = False
<小时>
GeckoDriver、Selenium 和 Firefox Browser 兼容性图表
GeckoDriver, Selenium and Firefox Browser compatibility chart
这篇关于哪个 Firefox 版本与 Selenium 3.6.0 兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!