Firefox在selenium脚本执行期间崩溃

时间:2017-07-15 17:13:13

标签: selenium selenium-webdriver selenium-firefoxdriver

这是我的机器规格
Centos 7。 内核3.10.0-514.21.1.el7.x86_64 geckodriver 0.17.0 Selenium + Java Mozilla Firefox 52.2.0

运行程序firefox崩溃时给出以下错误 我使用普通用户运行它。

1500138350643   Marionette      INFO    New connections will no longer be accepted
[Child 3505] WARNING: pipe error (3): Connection reset by peer: file /builddir/build/BUILD/firefox-52.2.0/firefox-52.2.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 322
[Child 3505] ###!!! ABORT: Aborting on channel error.: file /builddir/build/BUILD/firefox-52.2.0/firefox-52.2.0esr/ipc/glue/MessageChannel.cpp, line 2152
[Child 3505] ###!!! ABORT: Aborting on channel error.: file /builddir/build/BUILD/firefox-52.2.0/firefox-52.2.0esr/ipc/glue/MessageChannel.cpp, line 2152

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,经检查,我知道我的firefox版本已自动更新,而我使用的geckodriver版本不兼容。

更新您的geckodriver,这应该可以解决您的问题

相关问题