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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: JS- ECONNREFUSED when using two WebDrivers and .quit()ing one #10499
Comments
@danielamar101, 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, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
I can reproduce the issue and we are checking how to fix it. I just wonder if this was reported before... |
I tried querying all the issues to see if anyone had a similar issue. I couldn't find anything, but maybe someone titled it more obscurely. |
@diemol Do you guys have any idea when you guys are targeting a release? Just wondering about how long we'll have to wait for this. And thank you for the quick diagnosis and fix. It is greatly appreciated. You guys are doing the angel's work! |
I've same issue |
temp solution node_modules/selenium-webdriver/chromium.js |
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?
So I have two built web drivers. On each I navigate to a specific site with a .get(). Then on one of them I use .quit() to close it. Then i try to use the second driver that is still open and try to navigate to a different site(really just do anything with the driver). Upon trying to use the second driver that should still be opened and using any API call, I get this ECONNREFUSED error. It appears that for some reason calling .quit() on the first driver also destroys the communication between selenium and the second driver.
I have pinpointed that this bug was introduced in Selenium 4.0.0-alpha.5 and has persisted until the latest version of selenium(4.1.1). Trying to do this should work as it works with versions prior to 4.0.0-alpha.5.
This same behavior also occurs MsEdgeDriver. Which leads me to believe this is a problem with selenium and not chromedriver. Also worth noting that this does not occur when using geckodriver.
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10, MacOS 12.1
Selenium version
4.1.1
What are the browser(s) and version(s) where you see this issue?
Chrome 98.0.4758.102, Selenium 4.0.0-alpha.5-4.1.1
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 98.0.4758.102 and latest EdgeDriver
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: