0
젠킨스 서버에서 헤드리스 모드로 실행될 때 Firefox가 열리지 않습니다. 다음 오류 로그를 제공합니다. Firefox 55 및 셀레늄 3.6.0을 사용하고 있습니다.헤드리스 모드에서 젠킨스 서버를 실행할 때 Firefox가 열리지 않습니다.
1511524678151 geckodriver INFO geckodriver 0.19.0
1511524678162 geckodriver INFO Listening on 127.0.0.1:24440
1511524678479 mozrunner::runner INFO Running command: "/usr/local/firefox/firefox" "-marionette" "-profile"
"/tmp/rust_mozprofile.X3S4fow8aJXO"
1511524678981 Marionette INFO Enabled via --marionette
(firefox:7518): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(firefox:7518): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(firefox:7518): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(firefox:7518): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(/usr/local/firefox/firefox:7577): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(/usr/local/firefox/firefox:7577): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(/usr/local/firefox/firefox:7577): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(/usr/local/firefox/firefox:7577): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
1511524680359 Marionette INFO Listening on port 48472
1511524680397 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: chrome://marionette/content/server.js, line 337: NS_ERROR_SOCKET_ADDRESS_IN_USE: Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.initSpecialConnection]
1511524680436 Marionette DEBUG loaded listener.js
Nov 24, 2017 11:58:00 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
DEBUG 2017-11-24 11:58:00,576 [main] com.wso2telco.tests.apimanager.base.BasicTestObject - FireFox LauncheBrowser method finished
DEBUG 2017-11-24 11:58:00,576 [main] com.wso2telco.tests.apimanager.base.BasicTestObject - FireFox Maximizing
DEBUG 2017-11-24 11:58:00,598 [main] com.wso2telco.tests.apimanager.base.BasicTestObject - Screenshor Captured
DEBUG 2017-11-24 11:58:00,688 [main] com.wso2telco.tests.apimanager.base.BasicTestObject - FireFox Maximized
1511524680767 Marionette INFO New connections will no longer be accepted
Firefox가 실행되지 않는 이유는 무엇입니까?
또한 56 및 57로 업데이트되었으며 동일한 문제가 발견되었습니다. –
geckodriver도 업데이트하십시오. [여기] (https://github.com/mozilla/geckodriver/releases)에서 –