给定的Geckodriver版本支持哪些Firefox浏览器版本? [英] Which Firefox browser versions supported for given Geckodriver version?

查看:97
本文介绍了给定的Geckodriver版本支持哪些Firefox浏览器版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会定期更新Firefox和Chrome浏览器,当前版本为54.0.1 32位,所以要使用哪个版本的Geckodriver. 我尝试使用两个版本Geckodriver-v0.18.0 and geckodriver-v0.16.1

I regularly update Firefox and Chrome browser, current version 54.0.1 32 bit So which version of Geckodriver to be used. I tried with both version Geckodriver-v0.18.0 and geckodriver-v0.16.1

供以后参考,我可以在哪里找到带有相应geckodriver版本的受支持的Firefox浏览器列表

For future reference where can I find the list the supported firefox browsers with respective geckodriver versions

注意:启动浏览器中没有任何代码更改

之前的代码适用于旧版Firefox版本的geckodriver-v0.16.1 现在在更新firefox 54.0.1和Geckodriver-v0.18.0后得到异常:

Previous the code was working with geckodriver-v0.16.1 for older firefox versions Now getting exception after updating firefox 54.0.1 and Geckodriver-v0.18.0 :

org.openqa.selenium.firefox.NotConnectedException:无法连接 45000毫秒后在端口7055上将127.0.0.1托管到主机上. Firefox控制台输出: oundUpdates:1," bootstrap:false," skinnable:false," size:3242616," sourceURI:null," releaseNotesURI:null," softDisabled:false," foreignInstall:true," hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"1.5","maxVersion :" 9.9}]," targetPlatforms:[]," multiprocessCompatible:false," signedState:0," seen:true," dependencies:[]," hasEmbeddedWebExtension:false," mpcOptedOut: false,"userPermissions":null}

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: oundUpdates":1,"bootstrap":false,"skinnable":false,"size":3242616,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"1.5","maxVersion":"9.9"}],"targetPlatforms":[],"multiprocessCompatible":false,"signedState":0,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

推荐答案

自我们从旧版 Firefox 版本迁移到 Marionette 以来,这个问题已经出现了一段时间了.基于strong>的 Mozilla Firefox 版本(从 Firefox 48 开始).目前尚不清楚您使用的确切含义是该代码是否与geckodriver-v0.16.1一起用于较旧的firefox版本.

This Question have been surfacing out quite often for sometime now since we migrated from the legacy Firefox releases to Marionette based Mozilla Firefox releases (beginning with Firefox 48). It is not clear what exactly you mean by the code was working with geckodriver-v0.16.1 for older firefox versions.

通常,每个 GeckoDriver 版本都支持 Mozilla Firefox 版本(从Firefox 48开始)的每个版本,其中必须将属性 marionette 设置为设置为 true (通过默认或通过配置)

In general, each GeckoDriver release supports each version of Mozilla Firefox releases (beginning with Firefox 48) where the property marionette needs to be set to true (either by default or through configuration)

如果您使用的是旧版 Firefox 版本(直到 Firefox 47.x ), GeckoDriver 仍然有效,但是您必须明确设置属性木偶 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

现在,唯一存在的依赖项位于 GeckoDriver Selenium 版本之间. GeckoDriver 发行说明清楚地提到了所有主要/次要的新功能增强功能错误修复分别在此链接中下载位置.

Now, the only dependency which exists, is between GeckoDriver and Selenium releases. The GeckoDriver release notes clearly mentions all the major/minor New Feature Addition, Enhancements,Bug Fixes and Download Location separately in this link.

最后宣布的依赖性为:

请注意, geckodriver v0.16.0 仅与 Selenium 3.4 and greater 兼容.

Note that geckodriver v0.16.0 is only compatible with Selenium 3.4 and greater.


GeckoDriver Firefox浏览器兼容性图表


GeckoDriver, Selenium and Firefox Browser compatibility chart

这篇关于给定的Geckodriver版本支持哪些Firefox浏览器版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆