Files
obscura/crates
404Human 0de133eb2c fix(cdp): fast-path Target.getBrowserContexts for Puppeteer connect (#120)
Puppeteer's first CDP call after connect is Target.getBrowserContexts.
When the single cdp_processor is busy (e.g. Page.navigate with fetch
interception), queued Target commands stall and Puppeteer hits
protocolTimeout on getBrowserContexts before any user code runs.

Answer getBrowserContexts synchronously in fast_path_response with the
same payload as domains::target::handle (default context id "default"),
matching Browser context initialization in CdpContext.

Co-authored-by: Obscura Contributor <contributor@users.noreply.github.com>
2026-05-09 17:55:34 +02:00
..
2026-04-13 12:30:28 +02:00