puppeteer/website/versioned_docs/version-9.1.1/puppeteer.pageeventobject.md
2021-08-10 11:09:48 +01:00

2.3 KiB

Home > puppeteer > 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 Type Description
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