-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Bug]: Error when using different node versions #10970
Comments
@TamsilAmani, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
HI @TamsilAmani , InstanceOf doesn't work as expected in node 18! Ex: insatnceOf in ff I have a fix ready for Firefox issue as I rewrote firefox.js a bit need to debug for virtual_authenticator.js with node 12 and node 14. For JS we had version set for node 14 AFAIK! |
Hi @TamsilAmani, About issue 1, I don't think we should support node 10. It is deprecated long ago and |
Thank you for the commit. On issue 1, I agree with you on that @harsha509. |
ISSUE 1 is occuring because:
Hence I believe we have to make a new release which includes commit mentioned on point (2) to solve for Issue 1 @AutomatedTester |
As discussed, I've set the min node version to the least Maintainance LTS with security updates. This change is done with commit 024d863 ! Closing this as all issues are resolved and fixes will be available in 4.5.0! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
Issue 1 is based on nightwatchjs/nightwatch#3337
ISSUE 1:
On node v10 (10.24.1), when I run the selenium code, I get the error
SyntaxError: Unexpected token =
in filevirtual_authenticator.js
. The same script runs without any error in v12 (12.22.12).I am not able to test it on v11.
ISSUE 2:
There is another issue which occurs in the same selenium code. On node v18 (18.7.0) the code is not able to start geckodriver and it gives the error
Error: Timed out waiting for the WebDriver server at http://localhost:51846/
. The same code works without any error (i.e. it starts the geckodriver) in v16 (16.16.0)This looks like some version problem with nodejs. I'm troubleshooting it from my end. Any leads would be helpful.
CC: @harsha509
How can we reproduce the issue?
Relevant log output
Operating System
macOS Monterey
Selenium version
Javascript 4.4.0
What are the browser(s) and version(s) where you see this issue?
Firefox 103.0.2
What are the browser driver(s) and version(s) where you see this issue?
GeckoDriver 0.31.0
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: