SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.21k stars 8.11k forks source link

[🐛 Bug]: headless mode error of chrome 129 #14514

Closed magdev2022 closed 1 day ago

magdev2022 commented 1 day ago

What happened?

Today, I updated the Chrome browser to the latest version (129). After the update, running Chrome in headless mode produces an unusual result: a blank white window appears, matching the size of the browser. image

How can we reproduce the issue?

//simple code
var driverService = ChromeDriverService.CreateDefaultService();
driverService.HideCommandPromptWindow = true;
var chromeoptions = new ChromeOptions();
chromeoptions.AddArgument("headless");
var botdriver= new ChromeDriver(driverService, chromeoptions);
botdriver.Url = "https://google.com";

Relevant log output

I will send later.

Operating System

Windows 11

Selenium version

dotnet selenium 4.24.0

What are the browser(s) and version(s) where you see this issue?

Chrome 129

What are the browser driver(s) and version(s) where you see this issue?

Chromedriver 129.0.6668.58

Are you using Selenium Grid?

No

github-actions[bot] commented 1 day ago

@magdev2022, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] commented 1 day ago

Hi, @magdev2022. This issue has been determined to require fixes in ChromeDriver.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an issue with the ChromeDriver team. Feel free to comment the issues that you raise back in this issue. Thank you.