Open MJB222398 opened 4 weeks ago
@MJB222398, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Was this occurring in the previous versions of Chrome? As far as I understand, nothing is updated in the Grid regarding how the CDP connection is made. Maybe it is a Chrome issue.
@pujagani I can't say it wasn't occurring in previous versions but if it was I didn't see it happen.
Thank you for the update. We will need a way to reproduce this, otherwise triaging or fixing is not possible from our end. If you can help eliminate this in previous Chrome versions then we know it is the Chrome version used that might be the root cause.
Hi, @MJB222398. Please follow the issue template, we need more information to reproduce the issue.
Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.
Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.
Reply to this issue when all information is provided, thank you.
What happened?
Was running a series of tests (47) on the Chrome browser. After about 40 the browser suddenly and unexpectedly closed during a test. The exception presented to me was:
OpenQA.Selenium.WebDriverException : disconnected: not connected to DevTools (failed to check if window was closed: disconnected: not connected to DevTools) (Session info: chrome=125.0.6422.76)
Never seen this issue before, been using this version of selenium and chrome for a couple of weeks maybe, ran tests many times in this period.
Googling this exception the usual cause seems to be mismatching browser and driver versions. But that is not the case here, mine match.
How can we reproduce the issue?
Relevant log output
Operating System
Ubuntu 20.04
Selenium version
.NET 4.21.0
What are the browser(s) and version(s) where you see this issue?
Chrome 125.0.6422.76
What are the browser driver(s) and version(s) where you see this issue?
Chromium 125.0.6422.76
Are you using Selenium Grid?
4.21.0-20240522