nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

Geckodriver + nightwatch do not compatible to work together (Browser session cannot be started) #1591

Closed berlinisimus closed 7 years ago

berlinisimus commented 7 years ago

OS: Windows Browser: Firefox 55.0.3 (32-bit) Geckodriver: 0.19 Nighwatch: the last one

Crash logs:

11:09:48.771 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b' 11:09:48.772 INFO - Launching a standalone Selenium Server 2017-09-21 11:09:48.794:INFO::main: Logging initialized @243ms to org.seleniumhq.jetty9.util.log.StdErrLog 11:09:48.849 INFO - Driver class not found: com.opera.core.systems.OperaDriver 11:09:48.878 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped: registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10 11:09:48.913 INFO - Using the passthrough mode handler 2017-09-21 11:09:48.937:INFO:osjs.Server:main: jetty-9.4.5.v20170502 2017-09-21 11:09:48.959:WARN:osjs.SecurityHandler:main: ServletContext@o.s.j.s.ServletContextHandler@67784306{/,null,STARTING} has uncovered http methods for path: / 2017-09-21 11:09:48.963:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@67784306{/,null,AVAILABLE} 2017-09-21 11:09:49.029:INFO:osjs.AbstractConnector:main: Started ServerConnector@87d7721{HTTP/1.1,[http/1.1]}{0.0.0.0:4444} 2017-09-21 11:09:49.030:INFO:osjs.Server:main: Started @479ms 11:09:49.030 INFO - Selenium Server is up and running 2017-09-21 11:09:49.219:INFO:osjshC.ROOT:qtp1910163204-11: org.openqa.selenium.remote.server.WebDriverServlet-46d56d67: Initialising WebDriverServlet 11:09:49.258 INFO - Binding default provider to: org.openqa.selenium.chrome.ChromeDriverService 11:09:49.259 INFO - Found handler: org.openqa.selenium.remote.server.BeginSession@f3b75da 11:09:49.262 INFO - /session: Executing POST on /session (handler: BeginSession) 11:09:49.305 INFO - Capabilities are: Capabilities {acceptSslCerts=true, marionette=true, name=Searchgroup\search Test, browserName=firefox, javascriptEnabled=true, platformName=ANY, platform=ANY, } 11:09:49.306 INFO - Capabilities {acceptSslCerts=true, marionette=true, name=Searchgroup\search Test, browserName=firefox, javascriptEnabled=true, platformName=ANY, platform=ANY, } matched class org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.firefox.GeckoDriverService) 11:09:49.307 INFO - Capabilities {acceptSslCerts=true, marionette=true, name=Searchgroup\search Test, browserName=firefox, javascriptEnabled=true, platformName=ANY, platform=ANY, } matched class org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)

kkgomez2 commented 7 years ago

Check this out, homeslice. Lemme know if it helps (Downgrading to selenium 3.4.0): https://github.com/nightwatchjs/nightwatch/issues/1558

berlinisimus commented 7 years ago

Thanks. It helped. But still want the fix for latest selenium in the nearest future. Thanks a lot.