-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
When I open headless Chrome in Windows 11 with Python, it leaves blank window visible in desktop. Blank here means window without buttons or frames, example like this one:

The window remains blank for the duration of the execution, but it does not affect test execution.
How can we reproduce the issue?
import time
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument("--headless")
print("Starting Chrome")
driver = webdriver.Chrome(options=options)
print("Sleep")
time.sleep(10)
print("Get URL")
driver.get("https://github.com/SeleniumHQ/selenium/issues")
driver.quit()Relevant log output
Starting Chrome
DevTools listening on ws://127.0.0.1:61296/devtools/browser/fe646dbc-1d4b-4526-a25e-b968904f7921
Sleep
Get URL
[17012:16848:1002/105511.364:ERROR:ssl_client_socket_impl.cc(882)] handshake failed; returned -1, SSL error code 1, net_error -3Operating System
Windows 11
Selenium version
4.24.0 and 4.25.0
What are the browser(s) and version(s) where you see this issue?
Chrome 129.0.6668.71
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 129.0.6668.70
Are you using Selenium Grid?
Not using
nappa0326
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended