You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 46cf81a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(engine): auto-fall back to screenshot mode on Chromium >= 132
Chromium 132+ removed the HeadlessExperimental domain. On Linux with
chrome-headless-shell we default to beginframe capture, which silently
produces blank frames on newer Chromium because `--enable-begin-frame-control`
leaves the compositor waiting for beginFrames the code can no longer send.
Users had to discover PRODUCER_FORCE_SCREENSHOT=true themselves.
Probe HeadlessExperimental.enable() on a disposable page right after launch.
If the domain isn't there, close the browser, relaunch with the beginframe-
only chrome flags stripped, and mark the session as screenshot mode. Users
on supported Chromium versions are unaffected — the probe adds one CDP
round-trip to browser acquisition and nothing else.
Closes#294.
0 commit comments