puppeteer/website/versioned_docs/version-20.9.0/api/puppeteer.pageeventobject.md
release-please[bot] 03adf4189e
chore: release main (#10577)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-20 07:36:56 +00:00

3.0 KiB

sidebar_label
PageEventObject

PageEventObject interface

Denotes the objects received by callback functions for page events.

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

Signature:

export interface PageEventObject

Properties

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