Всем привет!
Огромная проблема для меня.
OS: Mac, Browser: FF52
Вот этот код:
public static void main(String[] args) { System.setProperty("webdriver.gecko.driver", "/Users/USER/SeleniumTestTrainign/geckodriver"); DesiredCapabilities capabilities = DesiredCapabilities.firefox(); WebDriver driver = new FirefoxDriver(capabilities); driver.get("http://seleniumhq.org"); driver.quit(); } }
По итогу получаю вот это:
1489604961223 geckodriver INFO Listening on 127.0.0.1:60431489604961668 mozprofile::profile INFO Using profile path /var/folders/0m/kmxmf5vn1y741ld9wvpgmhvh0000gn/T/rust_mozprofile.0eyQz5GeMVT9 1489604961669 geckodriver::marionette INFO Starting browser /Applications/Firefox.app/Contents/MacOS/firefox-bin with args [] 1489604961673 geckodriver::marionette INFO Connecting to Marionette on localhost:54932 1489604962592 Marionette INFO Listening on port 54932 Mar 15, 2017 3:09:24 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C 2017-03-15 15:09:24.428 plugin-container[69404:8429938] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x903b, name = 'com.apple.tsm.portname' See /usr/include/servers/bootstrap_defs.h for the error codes. 2017-03-15 15:09:24.434 plugin-container[69404:8429938] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9303, name = 'com.apple.CFPasteboardClient' See /usr/include/servers/bootstrap_defs.h for the error codes. 1489604965586 Marionette INFO New connections will no longer be accepted [GFX1-]: Receive IPC close with reason=AbnormalShutdown [Child 69404] ###!!! ABORT: Aborting on channel error.: file /builds/slave/m-rel-m64-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2143 [Child 69404] ###!!! ABORT: Aborting on channel error.: file /builds/slave/m-rel-m64-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2143
Как победить? Я первый раз за долгое время запускаю и получаю вот такие сюрпризы. Очень нужен совет как это победить.
Спасибо
Сообщение отредактировал LarianVonLich: 15 марта 2017 - 20:06