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

Event types

EventName​

Type: Literal['console', 'request', 'response', 'error', 'message']

Listener​

Type: Callable[[Any], Any]

PageEventMap​

FieldType
consoleConsoleMessage
errorException
messagestr
requestRequestResponse
responseResponseResponse

PageEventsMixin​

off​

off(event: EventName, listener: Listener) -> Self

on​

on(event: EventName, listener: Listener) -> Self

once​

once(event: EventName, listener: Listener) -> Self
Was this page helpful?