Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error retrieving a new session from the selenium server with Node-firefox #677

Closed
chris-tn opened this issue Feb 23, 2018 · 2 comments
Closed

Comments

@chris-tn
Copy link

chris-tn commented Feb 23, 2018

Meta -

Image(s):
node-firefox
Docker-Selenium Image Version(s):
3.9.1-actinium
Docker Version:
Docker version 17.12.0-ce, build c97c6d6
OS:
Ubuntu 16.04

Docker selenium node-firefox return difference with standalone-firefox:

Expected Behavior -

{ status: 0,
sessionId: 'e5cb66b7-285e-4140-9fd4-fced7b18dcdb',
value:
{ 'moz:profile': '/tmp/rust_mozprofile.IhM7CfCGYBSF',
rotatable: false,
timeouts: { implicit: 0, pageLoad: 300000, script: 30000 },
pageLoadStrategy: 'normal',
'moz:headless': false,
'moz:accessibilityChecks': false,
acceptInsecureCerts: false,
browserVersion: '58.0.1',
platformVersion: '4.4.0-87-generic',
'moz:processID': 287,
browserName: 'firefox',
platformName: 'linux',
'moz:webdriverClick': true,
'webdriver.remote.sessionid': 'e5cb66b7-285e-4140-9fd4-fced7b18dcdb' } }

Actual Behavior -

{ value:
{ sessionId: '21fa5462-57b0-42e7-a45a-5132e639e3af',
capabilities:
{ 'moz:profile': '/tmp/rust_mozprofile.3JFy9UyunbNK',
rotatable: false,
timeouts: { implicit: 10000, pageLoad: 300000, script: 30000 },
pageLoadStrategy: 'normal',
'moz:headless': false,
'moz:accessibilityChecks': false,
acceptInsecureCerts: true,
browserVersion: '58.0.1',
platformVersion: '4.4.0-87-generic',
'moz:processID': 68,
browserName: 'firefox',
platformName: 'linux',
'moz:webdriverClick': true,
'webdriver.remote.sessionid': '21fa5462-57b0-42e7-a45a-5132e639e3af' } } }

It's missing params on the json return so the error will get when run nightwatch

Error retrieving a new session from the selenium server
Connection refused! Is selenium server started?
With Node-firefox
image
With standalone-firefox
image

@chris-tn
Copy link
Author

@diemol
Copy link
Member

diemol commented Mar 11, 2018

Hi @chris-tn,

Thanks for referencing the other issues, and yes, hopefully this gets fixed soon in Nightwatch and the payload is sent properly (the PHP bindings have currently the same issue).

I'm closing this issue since there is no action item for us to work on.

@diemol diemol closed this as completed Mar 11, 2018
@lock lock bot locked and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants