Selenium 4: RemoteDisconnected Error with Chrome 131 and ChromeDriver 131 (Python)

111 views
Skip to first unread message

manu kumar

unread,
Jun 6, 2025, 5:49:20 AMJun 6
to Selenium Users
Hi Team,

Error : Element Not Found!! Exception --> ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

  • Context:
    • Browser version - Chrome 131
    • ChromeDriver version - 131
    • Selenium version - 4.25.0
    • Programming language: Python
    • Operating system - Linux/RHEL
  • What I've Tried:

    1. Verified ChromeDriver matches the Chrome version.
    2. Increased timeouts (e.g., implicit and explicit waits).
    3. Ran Chrome in headless mode.
    4. Implemented retry logic for the click action.
Despite these efforts, I still see the RemoteDisconnected error intermittently. Any insights or suggestions for resolving this issue would be greatly appreciated

Thanks,
Manoj

manu kumar

unread,
Jun 10, 2025, 1:49:39 AMJun 10
to Selenium Users
Hi Team,

Any insights or suggestions for resolving this issue would be greatly appreciated.

amit sharma

unread,
Jun 11, 2025, 3:06:28 AMJun 11
to seleniu...@googlegroups.com
  This is a network level error, not directly related to the web element or Selenium/WebDriver trying to find something on the page  
  1. Make sure the URL you're trying to access is correct and live
  2. Some sites block automated requests
  3.please try below logic .
 import requests
from requests.exceptions import ConnectionError
import time

url = "https://google.com"

for i in range(3):  # Retry 3 times
    try:
        response = requests.get(url)
        print(response.status_code)
        break
    except ConnectionError as e:
        print(f"Retry {i+1}: Connection failed - {e}")
        time.sleep(2)

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/selenium-users/27a9a7c8-760c-4e30-bb09-5fdd1ab53e05n%40googlegroups.com.

manu kumar

unread,
Jun 16, 2025, 11:37:39 AMJun 16
to Selenium Users
Thanks for response. 

The URL is correct and alive. It's not blocking automated requests. Here is the errors log while trying to launch the browser with URL and It can occur with any test case intermittently.
| Starting subsection connect_to_browser |
42: +------------------------------------------------------------------------------+
43: ++++++ Login to CW Home Page +++++++++
44: chrome
45: setting browser as headless google chrome
46: driver not initiliased due to : Remote end closed connection without response
47: Exception in ui_driver: RemoteDisconnected, Remote end closed connection without response. Line number: 108
48: RemoteDisconnected('Remote end closed connection without response')
49: Login : Element Not Found 

Thanks,
Manoj
Reply all
Reply to author
Forward
0 new messages