Cannot get automation extension from timeout: Timed out receiving message from renderer

We were seeing something similar with Chrome and the issue came down to the way we were maximizing the browser before running the tests.

We switched from this:

Driver.Manage().Window.Maximize();

To this (for Chrome only):

if (typeof(TWebDriver) == typeof(ChromeDriver))
{
    var options = new ChromeOptions();
    options.AddArgument("start-maximized");

    driver = new ChromeDriver(driverPath, options);
}

Leave a Comment