Skip to content

[🐛 Bug]: [grid] Regression: 4.41 times out on setting window size while 4.40 and earlier works #17289

@kelmelzer

Description

@kelmelzer

Description

  • Instantiate an Edge RemoteWebDriver (I'm using .NET) against a locally running Selenium Grid 4.41.0 Standalone JAR file (http://localhost:4444)
  • Set the Window's Size property to new(1920, 1080)
  • The command times out and throws this error:
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)

Reverting to Selenium Grid 4.40.0 and earlier versions works

Reproducible Code

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

ℹ️ Last known working version: 4.40.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!B-gridEverything grid and server relatedC-dotnet.NET BindingsD-edgeI-defectSomething is not working as intendedI-regressionSomething was working but we "fixed" itOS-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions