- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我定期更新 Firefox 和 Chrome 浏览器,当前版本 54.0.1 32 位 所以要使用哪个版本的 Geckodriver。
我尝试了两个版本 Geckodriver-v0.18.0 and geckodriver-v0.16.1
为了将来引用,我在哪里可以找到支持的带有各自 geckodriver 版本的 firefox 浏览器的列表
注意:启动浏览器中没有任何代码更改
以前的代码与 geckodriver-v0.16.1 一起用于较旧的 firefox 版本
现在在更新 firefox 54.0.1 和 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}
最佳答案
自从我们从旧版 Firefox 版本迁移到 以来,这个问题已经经常出现一段时间了。牵线木偶基于 Mozilla Firefox 版本(从 Firefox 48 开始)。目前尚不清楚您所说的代码与 geckodriver-v0.16.1 一起用于旧版 firefox 的确切含义。
一般来说,每个 GeckoDriver 版本都支持每个版本的 Mozilla Firefox 版本(从 Firefox 48 开始),其中属性 牵线木偶需要设置为 true
(默认情况下或通过配置)
如果您正在使用旧版 Firefox 版本(直到 Firefox 47.x),GeckoDriver 仍然有效,但您必须明确设置属性 牵线木偶至 false
现在,唯一存在的依赖是 GeckoDriver 和 Selenium 版本之间。 GeckoDriver 发行说明清楚地提到了所有主要/次要 新功能添加 , 增强功能 , 错误修复 和 下载地址 分别在 this link .
最后宣布的依赖项是:
Note that
geckodriver v0.16.0
is only compatible withSelenium 3.4 and greater
.
关于selenium - 给定的 Geckodriver 版本支持哪些 Firefox 浏览器版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45329528/
我创建了一个测试脚本,使用 python 在 Eclipse 中打开一个 url,但出现以下错误: Traceback (most recent call last): File "/Librar
我有一些 Robot Framework使用 SeleniumLibrary 的测试套件.我使用 Firefox 和 geckodriver 运行这些测试。每当我运行测试套件时,都会创建一个 geck
在我的应用程序中,我无法使用 System.setProperty 设置 geckodriver 可执行位置,并且无法在路径中设置它。为什么?因为我的应用程序是 Multi-Tenancy 的....
我列出了系统中安装的当前 npm 版本以及尝试安装 geckodriver 时发生的错误。我阅读了 [npm 模块版本] - [geckodriver 版本]1.10.x - geckodriver
我对 Pycharm 或 Python 的了解不够深,无法解决问题所在。在我看来,似乎应该执行这段简单的代码,但我得到了一堆对我来说没有任何意义的文本。 使用 Selenium 的其他人会遇到此错误并
当我尝试执行我的第一个 Selenium/python 代码时出现此错误。 selenium.common.exceptions.WebDriverException: Message: 'Gecko
我正在使用 headless ubuntu,并想安装最新的 geckodriver。 所以我必须通过输入命令行来安装。 我的 ubuntu 是 14.04 值得信赖的。 但是,我不知道安装 gecko
我正在做一个简单的机器人,用于使用 selenium 在 java/swing 中自动执行用户任务。 Selenium 需要在客户端计算机上安装 geckodriver。我应该如何交付该驱动程序? 放
驱动程序:geckodriver 0.19.1。 操作系统名称:Microsoft Windows 10 Pro for Workstations 版本:10.0.17134 Build 17134。
我已阅读之前关于此主题的问题并尝试遵循建议,但我仍然遇到错误。在终端上,我跑了 export PATH=$PATH:/Users/Conger/Documents/geckodriver-0.8.0-
我正在尝试在 Python 中使用 Selenium。但是,鉴于 https://pypi.python.org/pypi/selenium 的以下内容,我不知道该怎么做 Selenium 需要驱动程
我在 Windows 10 上运行 Selenium 3.141.0 和 python 3.6.7 我的脚本以 headless 方式运行 Firefox 驱动程序,但是来自 geckodriver
新的 geckodriver v0.17.0 有一种新的方式来安装插件,如上所述 here : POST /session/{session id}/window/fullscreen to invo
每次创建另一个测试时都需要添加 geckodriver 吗?例如: public class JUnit4 { @Test public void test1() {
我需要使用扩展来测试 Firefox。我想自动化测试并访问几个网站。 我安装了 Selenium,它在 geckodriver 中打开.但是,扩展不存在。我可以从 about:debugging 手动
我想以机器人方式填写网络表单。我在文档中添加了libraryclient-combined 3.0.0 beta 3。我的firefox版本应该是最新的。 import org.openqa.
我试图在我的 raspberry pi 3 in java 上使用 geckodriver设置 selenium webdriver。当我尝试启动 FirefoxDriver() 的实例时,我收到以下
我正在使用 Selenium/Maven/testng 编写自动测试。 测试在 Windows Server 2016 Standard 虚拟机上执行。 我想检查任务列表是否正在运行 geckodri
我有一个 webelement cells[-1] 我正在尝试单击并在新选项卡中打开它,然后从该页面上的链接下载一些内容,然后将其关闭并返回到原始状态选项卡。 我用过 actions.key_down
Selenium 设计为在处理 webdriver 实例时终止 Geckodriver 进程,如下所示:driver.quit()。在我的测试框架中,我已配置为在每次测试后调用 driver.quit
我是一名优秀的程序员,十分优秀!