| 接口 | 说明 |
|---|---|
| ConsoleAPI |
打印页面console事件接口
|
| 类 | 说明 |
|---|---|
| Accessibility | |
| AXNode | |
| BoxModel | |
| ConsoleMessage |
ConsoleMessage objects are dispatched by page via the 'console' event.
|
| Coverage |
Coverage gathers information about parts of JavaScript and CSS that were used by the page.
|
| CSSCoverage | |
| Dialog | |
| DOMWorld | |
| ElementHandle |
ElementHandle represents an in-page DOM element.
|
| EmulationManager | |
| ExecutionContext | |
| FileChooser |
FileChooser objects are returned via the 'page.waitForFileChooser' method.
|
| Frame | |
| FrameManager | |
| FrameTree |
Information about the Frame hierarchy.
|
| Input | |
| JSCoverage | |
| JSHandle | |
| Keyboard | |
| LifecycleWatcher | |
| Mouse | |
| NetworkManager | |
| Page | |
| ProtocolValue | |
| QueryHandler | |
| QuerySelector | |
| Request |
Whenever the page sends a request, such as for a network resource, the following events are emitted by puppeteer's page:
'request' emitted when the request is issued by the page.
|
| Response | |
| SecurityDetails | |
| Target | |
| TargetInfo | |
| TaskQueue<R> |
截图专用的类,
|
| TimeoutSettings | |
| Touchscreen | |
| Tracing |
You can use [`tracing.start`](#tracingstartoptions) and [`tracing.stop`](#tracingstop) to create a trace file which can be opened in Chrome DevTools or [timeline viewer](https://chromedevtools.github.io/timeline-viewer/)
|
| WaitTask | |
| Worker |
The events `workercreated` and `workerdestroyed` are emitted on the page object to signal the worker lifecycle.
|
| 枚举 | 说明 |
|---|---|
| NavigateResult | |
| PaperFormats |
Copyright © 2020. All rights reserved.