Skip to content

fix: Chrome no longer supports old headless mode#189

Merged
gadenbuie merged 2 commits intomainfrom
fix/187-old-headless-mode-is-gone
Jan 16, 2025
Merged

fix: Chrome no longer supports old headless mode#189
gadenbuie merged 2 commits intomainfrom
fix/187-old-headless-mode-is-gone

Conversation

@gadenbuie
Copy link
Copy Markdown
Member

Fixes #187

We now default to --headless and pass whatever value is given in chromote.headless or CHROMOTE_HEADLESS along directly to Chrome, relying on Chrome to fail for invalid headless values (if it fails at all).

@gadenbuie gadenbuie marked this pull request as ready for review January 16, 2025 20:46
@gadenbuie gadenbuie requested a review from cderv January 16, 2025 20:47
Copy link
Copy Markdown
Contributor

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Do you know if new headless works well with chromote already ?

@gadenbuie
Copy link
Copy Markdown
Member Author

Do you know if new headless works well with chromote already ?

In theory, it should! IIRC pagedown::chrome_print() uses --headless by default, and therefore the new headless mode, and that seems to be working okay for most users.

@gadenbuie gadenbuie merged commit 91aeeaa into main Jan 16, 2025
@gadenbuie gadenbuie deleted the fix/187-old-headless-mode-is-gone branch January 16, 2025 21:42
@schloerke schloerke mentioned this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chrome v132 no longer supports old headless mode

2 participants