Skip to content

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

Open

Description

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());

Activity

  1. mariohik commented on Aug 10, 2023

    @mariohik
    Author

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

  2. jenniferzhai25 commented on Sep 12, 2023

    @jenniferzhai25

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions