Timeout when executing request (POST http://169.254.135.134:4444/session/bc84990e53da7fdee5454a92edef326d/window/rect) Build info: version: '4.41.0', revision: '9fc754f90a' System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '21.0.10' Driver info: driver.version: unknown OpenQA.Selenium.UnknownErrorException: Unable to execute request for an existing session: Timeout when executing request (POST http://169.254.135.134:4444/session/bc84990e53da7fdee5454a92edef326d/window/rect)
Build info: version: '4.41.0', revision: '9fc754f90a'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '21.0.10'
Driver info: driver.version: unknown
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Window.set_Size(Size value)
// run local instance of Selenium Grid 4.41.0 Standalone JAR file with Java (using OpenJDK)
// use .NET Selenium.WebDriver 4.41.0
var gridUri = new Uri("http://localhost:4444");
var edgeOptions = new EdgeOptions();
using var remoteWebDriver = new RemoteWebDriver(gridUri, edgeOptions);
// this line times out and throws above exception
remoteWebDriver.Manage().Window.Size = new(1920, 1080);
Description
Reverting to Selenium Grid 4.40.0 and earlier versions works
Reproducible Code
ℹ️ Last known working version:
4.40.0