tebeka / selenium

Selenium/Webdriver client for Go
MIT License
2.51k stars 410 forks source link

Firefox window doesn t display with Go 1.10.1 on Ubuntu 18.04 #124

Open hubyhuby opened 6 years ago

hubyhuby commented 6 years ago

After updating from Ubuntu 17.10 (Go 1.8) to Ubuntu18.04 AND recompiling my project with go 1.10; the firefox window doesn t appear. The app run fine and I get all the logs from my application; it is really clicking and so on. But no window

When I run the previous compiled (Go 1.8) project binary the window appears; this makes me think it comes from GO 1.10.1

go version go1.10.1 linux/amd64 geckodriver-v0.20.1-linux64 selenium-server-standalone-3.11.0 firefox 60.0.2 EDIT: I have now update to selenium-server-standalone-3.11.2 But I get the same behaviour

LOG : 08:35:04.315 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.0', revision: '7c6e0b3' 08:35:04.317 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 7070 2018-06-09 08:35:04.416:INFO::main: Logging initialized @425ms to org.seleniumhq.jetty9.util.log.StdErrLog 08:35:04.585 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 7070 OS Macos 08:35:10.262 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {browserName: firefox, browser_version: 59.0, moz:firefoxOptions: {prefs: {intl.accept_languages: fr}}, os: OS X, os_version: Snow Leopard, plateform: MAC} 08:35:10.263 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.firefox.GeckoDriverService) 1528526110309 geckodriver INFO geckodriver 0.20.1 1528526110327 geckodriver INFO Listening on 127.0.0.1:13721 1528526110672 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.1Ns6Xm9z71YH" 1528526112622 Marionette INFO Listening on port 45083 08:35:12.752 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C 08:35:12.810 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session d1ea2567-b311-42d0-bfea-f45b4d824858 (org.openqa.selenium.firefox.GeckoDriverService)

hubyhuby commented 6 years ago

In the taks manager everything is running fine, but firefox is not on display, nor in the task bar.. image

hubyhuby commented 6 years ago

Lately i have reinstall everything on another ubuntu 18.04 machine with go 1.8 (instead of 1.10) and it shows the firefox windows. I can confirm GO 1.10 compiled Binaries doesn t show the FF window