Type aliases
ConsoleMessageType
ConsoleMessageType: "log" | "debug" | "info" | "error" | "warning" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd"
Defined in node_modules/@types/puppeteer/index.d.ts:445
DialogType
DialogType: "alert" | "beforeunload" | "confirm" | "prompt"
Defined in node_modules/@types/puppeteer/index.d.ts:422
ErrorCode
ErrorCode: "aborted" | "accessdenied" | "addressunreachable" | "blockedbyclient" | "blockedbyresponse" | "connectionaborted" | "connectionclosed" | "connectionfailed" | "connectionrefused" | "connectionreset" | "internetdisconnected" | "namenotresolved" | "timedout" | "failed"
Defined in node_modules/@types/puppeteer/index.d.ts:1010
EvaluateFn
EvaluateFn<T>: string | ( ( arg1: T , ... args: any [] ) => any )
Defined in node_modules/@types/puppeteer/index.d.ts:602
Type parameters
EvaluateFnReturnType
EvaluateFnReturnType<T>: T extends ( ... args: any [] ) => infer R ? R : unknown
Defined in node_modules/@types/puppeteer/index.d.ts:603
Type parameters
Headers
Headers: Record < string , string >
Defined in node_modules/@types/puppeteer/index.d.ts:992
HttpMethod
HttpMethod: "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "OPTIONS"
Defined in node_modules/@types/puppeteer/index.d.ts:993
LayoutDimension
LayoutDimension: string | number
Defined in node_modules/@types/puppeteer/index.d.ts:637
LoadEvent
LoadEvent: "load" | "domcontentloaded" | "networkidle0" | "networkidle2"
Defined in node_modules/@types/puppeteer/index.d.ts:605
MediaType
MediaType: "screen" | "print"
Defined in node_modules/@types/puppeteer/index.d.ts:1446
MouseButtons
MouseButtons: "left" | "right" | "middle"
Defined in node_modules/@types/puppeteer/index.d.ts:496
PDFFormat
PDFFormat: "Letter" | "Legal" | "Tabloid" | "Ledger" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6"
Defined in node_modules/@types/puppeteer/index.d.ts:639
Permission
Permission: "geolocation" | "midi" | "midi-sysex" | "notifications" | "push" | "camera" | "microphone" | "background-sync" | "ambient-light-sensor" | "accelerometer" | "gyroscope" | "magnetometer" | "accessibility-events" | "clipboard-read" | "clipboard-write" | "payment-handler"
Defined in node_modules/@types/puppeteer/index.d.ts:1996
Platform
Platform: LiteralUnion < "mac" | "win32" | "win64" | "linux" >
Defined in node_modules/@types/puppeteer/index.d.ts:74
Product
Product: LiteralUnion < "chrome" | "firefox" >
Defined in node_modules/@types/puppeteer/index.d.ts:75
ResourceType
ResourceType: "document" | "stylesheet" | "image" | "media" | "font" | "script" | "texttrack" | "xhr" | "fetch" | "eventsource" | "websocket" | "manifest" | "other"
Defined in node_modules/@types/puppeteer/index.d.ts:995
SameSiteSetting
SameSiteSetting: "Strict" | "Lax"
Defined in node_modules/@types/puppeteer/index.d.ts:510
Serializable
Defined in node_modules/@types/puppeteer/index.d.ts:60
SerializableOrJSHandle
Defined in node_modules/@types/puppeteer/index.d.ts:65
TargetType
TargetType: "page" | "background_page" | "shared_worker" | "service_worker" | "browser" | "other"
Defined in node_modules/@types/puppeteer/index.d.ts:2089
UnwrapElementHandle
Defined in node_modules/@types/puppeteer/index.d.ts:58
Type parameters
WrapElementHandle
Defined in node_modules/@types/puppeteer/index.d.ts:55
Type parameters
Accepts values labeled with units. If number, treat as pixels.