puppeteer/docs/api/puppeteer.pageevents.md
Miki Lombardi 39e3d4bceb docs: Upgrading to Docusaurus V3 (#11434)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-11-29 13:08:08 +01:00

3.2 KiB

sidebar_label
PageEvents

PageEvents interface

Denotes the objects received by callback functions for page events.

See PageEvent for more detail on the events and when they are emitted.

Signature:

export interface PageEvents extends Record<EventType, unknown>

Extends: Record<EventType, unknown>

Properties

Property Modifiers Type Description Default
close undefined
console ConsoleMessage
dialog Dialog
domcontentloaded undefined
error Error
frameattached Frame
framedetached Frame
framenavigated Frame
load undefined
metrics { title: string; metrics: Metrics; }
pageerror Error
popup Page | null
request HTTPRequest
requestfailed HTTPRequest
requestfinished HTTPRequest
requestservedfromcache HTTPRequest
response HTTPResponse
workercreated WebWorker
workerdestroyed WebWorker