Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
magdev2022 opened this issue Sep 18, 2024 · 6 comments
Closed

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

magdev2022 opened this issue Sep 18, 2024 · 6 comments
Labels
G-chromedriver Requires fixes in ChromeDriver

Comments

@magdev2022
Copy link

magdev2022 commented Sep 18, 2024

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

Copy link

@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!

@diemol diemol added G-chromedriver Requires fixes in ChromeDriver and removed I-defect needs-triaging labels Sep 18, 2024
Copy link

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.

@diemol diemol mentioned this issue Sep 18, 2024
@RubTalha
Copy link

https://stackoverflow.com/questions/79006406/chrome-browser-latest-version-129-in-headless-mode-produces-a-blank-white-wind/79006697#79006697

@mdmintz
Copy link
Contributor

mdmintz commented Sep 20, 2024

It was already answered 2 days ago:
https://stackoverflow.com/questions/78996364/chrome-129-headless-shows-blank-window/78999088#78999088

Temporary fix to move the window off-screen:
--window-position=-2400,-2400

chrome_options.add_argument("--window-position=-2400,-2400")

@Rayrsn
Copy link

Rayrsn commented Sep 21, 2024

this was posted on the issue tracker for chromedriver issue #367755364

strehle added a commit to cloudfoundry/uaa that referenced this issue Sep 23, 2024
strehle added a commit to cloudfoundry/uaa that referenced this issue Sep 24, 2024
* Fix issue on chrome 129

- issue and discussion SeleniumHQ/selenium#14514
- https://issues.chromium.org/issues/367755364

* Revert "Fix error in integration tests"

This reverts commit 66940b0.

* refactor ChromeDriver setup

* reset DefaultIntegrationTestConfig timeout changes

* test on timeout

* another test on timeout

* another test on timeout

* another test on timeout

* another test on timeout

* another test on timeout

* do not use hard coded Url
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
G-chromedriver Requires fixes in ChromeDriver
Projects
None yet
Development

No branches or pull requests

5 participants