Skip to main content
Version: Next

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

PropertyModifiersTypeDescriptionDefault
closenever
consoleConsoleMessage
dialogDialog
domcontentloadednever
errorError
frameattachedFrame
framedetachedFrame
framenavigatedFrame
loadnever
metrics{ title: string; metrics: Metrics; }
pageerrorError
popupPage
requestHTTPRequest
requestfailedHTTPRequest
requestfinishedHTTPRequest
requestservedfromcacheHTTPRequest
responseHTTPResponse
workercreatedWebWorker
workerdestroyedWebWorker