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

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

问题描述

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

为了将来参考,我在哪里可以找到支持的带有各自 geckodriver 版本的 firefox 浏览器的列表

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

以前的代码与 geckodriver-v0.16.1 一起用于旧版 Firefox 版本现在在更新 firefox 54.0.1 和 Geckodriver-v0.18.0 后出现异常:

<块引用>

org.openqa.selenium.firefox.NotConnectedException:无法连接45000 毫秒后在端口 7055 上托管 127.0.0.1.火狐控制台输出: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 的确切含义.

一般来说,每个 GeckoDriver 版本都支持 Mozilla Firefox 版本(从 Firefox 48 开始)的每个版本,其中需要 ma​​rionette 属性设置为true(通过默认或通过配置)

如果您使用旧的 Firefox 版本(直到 Firefox 47.x)GeckoDriver 仍然有效,但您必须明确设置属性牵线木偶false

现在,唯一存在的依赖是 GeckoDriverSelenium 版本之间.GeckoDriver 发行说明清楚地提到了所有主要/次要新功能添加增强功能错误修复

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

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

Note: No any code changes in launch browser

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: 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}

解决方案

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.

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)

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

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.

The last announced dependency was:

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


GeckoDriver, Selenium and Firefox Browser compatibility chart

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

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