f07ad2c661
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
4.1 KiB
4.1 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 |