mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23f18d8cc0
This PR starts exploring the Page class and how to best document it. It explores how best to document events in the system, and I think pulling them out into an `enum` is the best solution here. It lets us end up with a page of docs that explicitly lists all the events the page class can ever emit.
3.1 KiB
3.1 KiB
puppeteer package
Classes
Class | Description |
---|---|
Accessibility | The Accessibility class provides methods for inspecting Chromium's accessibility tree. The accessibility tree is used by assistive technology such as screen readers or switches. |
Browser | |
BrowserContext | |
BrowserFetcher | |
CDPSession | |
Connection | |
ConsoleMessage | |
Coverage | |
Dialog | Dialog instances are dispatched by the Page via the dialog event. |
ElementHandle | |
ExecutionContext | |
FileChooser | |
Frame | |
FrameManager | |
HTTPRequest | |
HTTPResponse | |
JSHandle | |
Keyboard | |
Mouse | |
Page | Page provides methods to interact with a single tab or [extension background page](https://developer.chrome.com/extensions/background_pages) in Chromium. One [Browser] instance might have multiple [Page] instances. |
Puppeteer | The main Puppeteer class |
SecurityDetails | |
Target | |
TimeoutError | |
Touchscreen | |
Tracing | |
WebWorker |
Enumerations
Enumeration | Description |
---|---|
PageEmittedEvents | All the events that a page instance may emit. |
Functions
Function | Description |
---|---|
createJSHandle(context, remoteObject) |
Interfaces
Interface | Description |
---|---|
BrowserFetcherOptions | |
SerializedAXNode | Represents a Node and the properties of it that are relevant to Accessibility. |
SnapshotOptions |
Variables
Variable | Description |
---|---|
EVALUATION_SCRIPT_URL | |
puppeteerErrors |
Type Aliases
Type Alias | Description |
---|---|
MouseButtonInput | |
PuppeteerErrors |