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

ProtocolError: ('Connection aborted.', Connection Reset Error('An existing connection was forcibly closed by remote host',None,10054,None)) #1871

Closed
achincholkar opened this issue Nov 20, 2023 · 3 comments

Comments

@achincholkar
Copy link

Prerequisites

Steps to reproduce issue:

  • This issue is reproducible when the new pop-up window is opened and it closes with a click of a button.
  • Go to the URL and click on a button that opens a new pop-up. This pop-up has a save and cancel button.
  • Click on cancel button which closes that pop-up.
  • Try to do any action on the base page it will throw a protocol issue.

Expected behavior and actual behavior

Expected behavior: Automation should continue to execute when the pop-up is closed using the cancel button.
Actual result: The selenium library hangs on clicking on the cancel button and we cannot perform any other action after that.

When I follow those steps, I see...

Environment

Browser: Google Chrome and version 112
Browser driver: Chrome-driver version 112.0.5615.49
Operating System: Windows 10

Libraries

  • Robot Framework: 6.1
  • Selenium: 4.12.0
  • SeleniumLibrary: 6.1.1
  • Interpreter: Python 3.11.5
@emanlove
Copy link
Member

Try upgrading Selenium to the latest v4.15.2. There was a very nasty issue where within some of the JavaScript code that comes with Selenium was overriding a common function name _ and causing issues similar to what you describe within the steps to reproduce above. This selenium issue appeared in 4.12.0 and was fixed in 4.13.0.

@emanlove
Copy link
Member

You might also update to the just released SeleniumLibrary v6.2.0 which has some fixes for compatibility with latest Selenium versions.

Going to close this issue as the above should resolve you issue. If you have more issue feel free to reopen or create a new issue.

@achincholkar
Copy link
Author

Hello @emanlove, we tried the suggested solution but it is not working as of now. Is there anything else we need to do to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants