Selenium 3.4.0与Firefox 55

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Selenium 3.4.0与Firefox 55相关的知识,希望对你有一定的参考价值。

昨天我的Firefox浏览器更新到55.从那以后我的代码不再工作了。我使用Selenium 3.4 geckodriver 18.0和Firefox 55.在Chrome中它起作用。我收到以下消息:

> 1503585931231 geckodriver INFO    geckodriver 0.18.0
> 1503585931265 geckodriver INFO    Listening on 127.0.0.1:31895
> 1503585932805 geckodriver::marionette INFO    Starting browser C:Program
> FilesMozilla Firefoxfirefox.exe with args ["-marionette"]
> 1503585936703 Marionette  INFO    Enabled via --marionette Unable to read
> VR Path Registry from
> C:UsersJaAppDataLocalopenvropenvrpaths.vrpath [GPU 2512]
> WARNING: pipe error: 109: file
> c:/builds/moz2_slave/m-rel-w64-00000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc,
> line 346 1503585942553    Marionette  INFO    Listening on port 49243
> 1503585943132 Marionette  INFO    Listening on port 49243
> 1503585943228 Marionette  DEBUG   loaded listener.js Aug 24, 2017 4:45:43
> PM org.openqa.selenium.remote.ProtocolHandshake createSession
> INFORMATION: Detected dialect: W3C
> 1503585944268 Marionette  DEBUG   Received DOM event "beforeunload" for
> "about:blank" 1503585945049   Marionette  DEBUG   Received DOM event
> "pagehide" for "about:blank" 1503585945051    Marionette  DEBUG   Received
> DOM event "unload" for "about:blank"
> 1503585945102 Marionette  DEBUG   Received DOM event "DOMContentLoaded"
> for "http://www.phptravels.net/"
> 1503585945208 Marionette  DEBUG   Received DOM event "pageshow" for
> "http://www.phptravels.net/" 1503585970177    Marionette  INFO    New
> connections will no longer be accepted Aug 24, 2017 4:46:13 PM
> org.openqa.selenium.os.UnixProcess destroy SCHWERWIEGEND: Unable to
> kill process with PID 11736

有人有同样的问题,也许解决方案?或者我应该降级Firefox?

忘了说我正在使用Selenium WebDriver。

谢谢回答。

以上是关于Selenium 3.4.0与Firefox 55的主要内容,如果未能解决你的问题,请参考以下文章

Selenium3.6.0+Firefox55+JDK8.0配置

如何使用 Maven 使用 Selenium 3.4.0 启动 FireFoxDriver?

全屏操作在 selenium webdriver 3.x 中不起作用

Selenium HTML Runner 失败,权限被拒绝

如何在 Python 中使用 Selenium 在 Firefox 中禁用 Flash?

解决selenium与firefox版本不兼容问题