Which Firefox version is compatible with Selenium 3.6.0

你。 提交于 2019-12-03 21:30:24

问题


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?

Any help will be highly appreciated.


回答1:


Selenium with Gecko Driver

Selenium Release Perspective :

Selenium v3.6.0 (Java) Release explicitly didn't mention any dependency explicitly.

The last dependency explicitly mentioned by Selenium was for v3.4.0 which is as follows :

Geckodriver 0.16 is strongly recommended

GeckoDriver Release Perspective :

  1. GeckoDriver v0.19.0: Firefox 55.0 (and greater) & Selenium 3.5 (and greater)
  2. GeckoDriver v0.18.0: Firefox 53.0 (and greater)
  3. GeckoDriver v0.16.0: Selenium 3.4 (and greater)

Mozilla Firefox Versions :

Ideally, each Selenium release should support each version of Mozilla Firefox releases (starting with Firefox 48.x) where the property "marionette" needs to be set to true (either by default or through configuration) as follows:

cap = DesiredCapabilities().FIREFOX
cap["marionette"] = True

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 and Firefox Browser compatibility chart




回答2:


You would need to use GeckoDriver if you want to run your scripts in Firefox versions greater than 47.0.1. Firefox 47.0.1 and before would not need GeckoDriver.




回答3:


source: http://www.automationtestinghub.com/selenium-3/

You would need to use GeckoDriver if you want to run your scripts in Firefox versions greater than 47.0.1. Firefox 47.0.1 and before would not need GeckoDriver



来源:https://stackoverflow.com/questions/47073748/which-firefox-version-is-compatible-with-selenium-3-6-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!