For AI agents: a documentation index is available at /llms.txt
Skip to main content

PageEvents

type PageEvents = PageEventMap & object;

Page events surfaced through the puppeteer-style emitter. The schema-derived PageEventMap entries (console/request/response) each open a GraphQL subscription lazily; error is emitted if opening or streaming one fails (it never throws, matching puppeteer's non-fatal emitter errors). message carries every raw frame the transport receives — including server-pushed frames with no matching operation (e.g. data over a custom ConnectionTransport); it is not subscription-backed.

Type Declaration

NameType
errorError
messagestring