robotframework / SeleniumLibrary

Web testing library for Robot Framework
Apache License 2.0
1.38k stars 759 forks source link

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

Closed achincholkar closed 10 months ago

achincholkar commented 10 months ago

Prerequisites

Steps to reproduce 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

emanlove commented 10 months ago

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 commented 10 months ago

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 commented 9 months ago

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?