|The Accessibility class provides methods for inspecting the browser's accessibility tree. The accessibility tree is used by assistive technology such as screen readers or switches.
Browser represents a browser instance that is either:
CDPSession instances are used to talk raw Chrome Devtools Protocol.
|ConsoleMessage objects are dispatched by page via the 'console' event.
|Device request prompts let you respond to the page requesting for a device through an API like WebBluetooth.
|Device in a request prompt.
|Dialog instances are dispatched by the Page via the
|ElementHandle represents an in-page DOM element.
|The EventEmitter class that many Puppeteer classes extend.
|File choosers let you react to the page requesting for a file.
Represents a DOM frame.
To understand frames, you can think of frames as
|Represents an HTTP request sent by a page.
|The HTTPResponse class represents responses which are received by the Page class.
|Keyboard provides an api for managing a virtual keyboard. The high level api is Keyboard.type(), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.
|Locators describe a strategy of locating objects and performing an action on them. If the action fails because the object is not ready for the action, the whole operation is retried. Various preconditions for a successful action are checked automatically.
|The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
Page provides methods to interact with a single tab or extension background page in the browser.
One Browser instance might have multiple Page instances.
|Describes a launcher - a class that is able to create and launch a browser instance.
|ProtocolError is emitted whenever there is an error from the protocol.
The main Puppeteer class.
IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of PuppeteerNode when you import or require
|The base class for all Puppeteer-specific errors
Extends the main Puppeteer class with Node specific behaviour for fetching and downloading browsers.
If you're using Puppeteer in a Node environment, this is the class you'll get when you run
|The SecurityDetails class represents the security details of a response that was received over a secure connection.
|Target represents a CDP target. In CDP a target is something that can be debugged such a frame, a page or a worker.
|TimeoutError is emitted whenever certain operations are terminated due to timeout.
|The Touchscreen class exposes touchscreen events.
|The Tracing class exposes the tracing audit interface.
|Puppeteer will throw this error if a method is not supported by the currently used protocol
|This class represents a WebWorker.
|All the events a browser instance may emit.
|All the events that a locator instance may emit.
|All the events that a page instance may emit.
|Events that the CDPSession class emits.
|The default cooperative request interception resolution priority
|A list of devices to be used with Page.emulate().
|Enum of valid mouse buttons.
|A list of network conditions to be used with Page.emulateNetworkConditions().
|The supported types for console messages.
|Represents the cookie's 'Priority' status: https://tools.ietf.org/html/draft-west-cookie-priority-00
|Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies
|Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.
Defines experiment options for Puppeteer.
See individual properties for more information.
|All the valid keys that can be passed to functions that take user input, such as keyboard.press
|All the valid paper format types when printing a PDF.
|Utility type exposed to enable users to define options that can be passed to
puppeteer.launch without having to list the set of all types.
|Resource types for HTTPRequests as perceived by the rendering engine.