mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
042d61030c
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
3.2 KiB
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 | ||||
dialog | ||||
domcontentloaded |
undefined | |||
error |
Error | |||
frameattached | ||||
framedetached | ||||
| ||||
load |
undefined | |||
metrics |
{ title: string; metrics: Metrics; } | |||
pageerror |
Error | |||
popup |
Page | null | |||
request | ||||
requestfailed | ||||
requestfinished | ||||
requestservedfromcache | ||||
response | ||||
workercreated | ||||
workerdestroyed |