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

WebDriverException: disconnected: unable to send message to renderer #104

Open
mariohik opened this issue Aug 10, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@mariohik
Copy link

I have two computers, one using Stable Edge and one using Edge Dev Channel.
Yesterday afternoon, I started getting the exception below on the computer with Edge Dev.

OpenQA.Selenium.WebDriverException: disconnected: unable to send message to renderer
  (failed to check if window was closed: disconnected: not connected to DevTools)
  (Session info: MicrosoftEdge=116.0.1938.43)
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(OpenQA.Selenium.Response errorResponse, System.String commandToExecute) at offset 306
at OpenQA.Selenium.WebDriver.Execute(System.String driverCommandToExecute, System.Collections.Generic.Dictionary`2 parameters) at offset 74
at OpenQA.Selenium.WebDriver.FindElement(System.String mechanism, System.String value) at offset 33
at OpenQA.Selenium.By.<.ctor>b__11_0(OpenQA.Selenium.ISearchContext context)
at OpenQA.Selenium.By.FindElement(OpenQA.Selenium.ISearchContext context) at offset 1
at OpenQA.Selenium.WebDriver.FindElement(OpenQA.Selenium.By by) at offset 29
at SeleniumExtras.WaitHelpers.ExpectedConditions.<>c__DisplayClass17_0.<InvisibilityOfElementLocated>b__0(OpenQA.Selenium.IWebDriver driver)
at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](System.Func`2 condition, System.Threading.CancellationToken token) at offset 154

I am using DriverManager to always get the version of EdgeWebDriver compatible with my browser.

new DriverManager().SetUpDriver(new EdgeConfig());
@mariohik mariohik added the bug Something isn't working label Aug 10, 2023
@mariohik
Copy link
Author

I tried using Chrome on the same machine and it works fine.

@busybee25
Copy link

Came up with the same error, it's intermittent error but happens more frequently on Edge V116. Will follow this issue, seeking a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants