Skip to content

There's a blank window bug on Windows with headless Chromium 129 #3156

@mdmintz

Description

@mdmintz

There's a blank window bug on Windows with headless Chromium 129

There's already a ticket here: https://issues.chromium.org/issues/367755364.
(It doesn't sound like they're going to fix it, so I will.)

The simple fix is to move the window off-screen when using headless Chromium on Windows:

--window-position=-2400,-2400

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

That's what I've been telling people to do on Stack Overflow:
Stack Overflow: Chrome 129 Headless shows blank window
Stack Overflow: Selenium headless broke after Chrome update

I'll apply my fix directly into SeleniumBase so that it's automatic when using headless Chromium on Windows.

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixedexternalOutside SeleniumBase's scope. / Ask somewhere else.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions