-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Nightwatch hangs when Selenium fails to create a session #1141
Comments
Yes, there are in test/src/http/testRequest.js and also in test/src/index/testNightwatchIndex.js. It should probably be something like the |
@diegoprd I don't think the timeout will help your problem with circle-ci. From what I've noticed they are running quite an old version of chrome so you might need to downgrade your chromedriver version. I suggest to post a new message on the mailing list regarding the circleci issue. |
Fixed as part of #1232. |
Because the module in
HttpRequest.js
doesn't have an option of a timeout, when Selenium fails to respond with a session, Nightwatch will wait for it indefinitely (until Selenium itself is timed out, which by default is 10 minutes).This causes the runner to be idle for 10 minutes, and then fail the test.
I propose adding a new timeout configuration option to the
HttpRequest
module. I'm willing to put a PR in, I want to ask if there are existing conventions for passing config, and whether there are tests covering that part of the library.The text was updated successfully, but these errors were encountered: