puppeteer/docs/api/puppeteer.pageevents.md
dependabot[bot] 93e9acc410
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#12101)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-03-20 15:03:14 +00:00

2.6 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

ConsoleMessage

dialog

Dialog

domcontentloaded

undefined

error

Error

frameattached

Frame

framedetached

Frame

framenavigated

Frame

load

undefined

metrics

{ title: string; metrics: Metrics; }

pageerror

Error

popup

Page | null

request

HTTPRequest

requestfailed

HTTPRequest

requestfinished

HTTPRequest

requestservedfromcache

HTTPRequest

response

HTTPResponse

workercreated

WebWorker

workerdestroyed

WebWorker