Interface | Description |
---|---|
Accessibility |
The Accessibility class provides methods for inspecting Chromium's accessibility tree.
|
AccessibilityNode | |
Browser |
- extends: [EventEmitter]
|
BrowserContext |
- extends: [EventEmitter]
|
BrowserType |
BrowserType provides methods to launch a specific browser instance or connect to an existing one.
|
ConsoleMessage |
ConsoleMessage objects are dispatched by page via the [event: Page.console ] event. |
DeviceDescriptor | |
DeviceDescriptor.Viewport | |
Dialog |
Dialog objects are dispatched by page via the [event: Page.dialog ] event. |
Download |
Download objects are dispatched by page via the [event: Page.download ] event. |
ElementHandle |
- extends:
JSHandle |
Event<EventType> | |
FileChooser |
FileChooser objects are dispatched by the page in the [event: Page.filechooser ] event. |
Frame |
At every point of time, page exposes its current frame tree via the [
method: Page.mainFrame ] and
[method: Frame.childFrames ] methods. |
JSHandle |
JSHandle represents an in-page JavaScript object.
|
Keyboard |
Keyboard provides an api for managing a virtual keyboard.
|
Mouse |
The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
|
Page |
- extends: [EventEmitter]
|
Page.Binding | |
Page.Binding.Source | |
Page.Error | |
Page.Function | |
Playwright |
Playwright module provides a method to launch a browser instance.
|
Request |
Whenever the page sends a request for a network resource the following sequence of events are emitted by
Page :
- [event: Page.request ] emitted when the request is issued by the page. |
Response |
Response class represents responses which are received by page. |
Route |
Whenever a network route is set up with [
method: Page.route ] or [method: BrowserContext.route ], the Route object
allows to handle the route. |
Selectors |
Selectors can be used to install custom selector engines.
|
TimeoutError |
- extends: [Error]
|
Touchscreen |
The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
|
Video |
When browser context is created with the
videosPath option, each page has a video object associated with it. |
WebSocket |
The
WebSocket class represents websocket connections in the page. |
WebSocket.FrameData | |
Worker |
The Worker class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API).
|
Exception | Description |
---|---|
PlaywrightException |
Copyright © 2021. All rights reserved.