-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugUh oh... Something needs to be fixedUh oh... Something needs to be fixedexternalOutside SeleniumBase's scope. / Ask somewhere else.Outside SeleniumBase's scope. / Ask somewhere else.
Description
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 fixedUh oh... Something needs to be fixedexternalOutside SeleniumBase's scope. / Ask somewhere else.Outside SeleniumBase's scope. / Ask somewhere else.