-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 Results in White Screen in Selenium [C#] #14544
Comments
@serizava01, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Hi, @serizava01. 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. |
change |
Depending on the new headless mode, now you can use I am confused of what versions of Selenium and Chrome the Purpose of this |
Thanks everyone I fixed it <3 |
Did you fix it by using "--headless=old" instead? @serizava01 |
Yes |
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. |
What happened?
I have encountered an issue while using Selenium with the headless argument. When running the browser in headless mode, the page renders as a blank (white) screen, even though the site works fine when running in non-headless mode. The page appears to load successfully (based on network logs and console messages), but no content is visible.
Steps to Reproduce:
Set up a Selenium WebDriver (Chrome) with the headless option enabled.
Navigate to a webpage that renders correctly in non-headless mode.
Observe that the content does not display, and the screen remains white in headless mode.
Expected Behavior: The page should render as it does in non-headless mode, displaying the full content.
Actual Behavior: The page appears as a blank white screen
Thank you!
How can we reproduce the issue?
Relevant log output
Operating System
11 Pro
Selenium version
4.25.0
What are the browser(s) and version(s) where you see this issue?
129.0.6668.70
What are the browser driver(s) and version(s) where you see this issue?
Latest version comes with selenium
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: