🤖 I have created a release *beep* *boop* --- <details><summary>browsers: 2.2.2</summary> ## [2.2.2](https://github.com/puppeteer/puppeteer/compare/browsers-v2.2.1...browsers-v2.2.2) (2024-04-15) ### Bug Fixes * remove NetworkServiceInProcess2 set by default ([#12261](https://github.com/puppeteer/puppeteer/issues/12261)) ([ff4f70f
](ff4f70f4ae
)), closes [#12257](https://github.com/puppeteer/puppeteer/issues/12257) </details> <details><summary>puppeteer: 22.6.5</summary> ## [22.6.5](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.4...puppeteer-v22.6.5) (2024-04-15) ### Miscellaneous Chores * **puppeteer:** Synchronize puppeteer versions ### Dependencies * The following workspace dependencies were updated * dependencies * puppeteer-core bumped from 22.6.4 to 22.6.5 * @puppeteer/browsers bumped from 2.2.1 to 2.2.2 </details> <details><summary>puppeteer-core: 22.6.5</summary> ## [22.6.5](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v22.6.4...puppeteer-core-v22.6.5) (2024-04-15) ### Bug Fixes * remove NetworkServiceInProcess2 set by default ([#12261](https://github.com/puppeteer/puppeteer/issues/12261)) ([ff4f70f
](ff4f70f4ae
)), closes [#12257](https://github.com/puppeteer/puppeteer/issues/12257) * use setImmediate to reduce flakiness when processing events ([#12264](https://github.com/puppeteer/puppeteer/issues/12264)) ([73403b3
](73403b323e
)) ### Dependencies * The following workspace dependencies were updated * dependencies * @puppeteer/browsers bumped from 2.2.1 to 2.2.2 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
3.7 KiB
sidebar_label |
---|
PageEvent |
PageEvent enum
All the events that a page instance may emit.
Signature:
export declare const enum PageEvent
Enumeration Members
Member |
Value |
Description |
---|---|---|
Close |
|
Emitted when the page closes. |
Console |
|
Emitted when JavaScript within the page calls one of console API methods, e.g. |
Dialog |
|
Emitted when a JavaScript dialog appears, such as |
DOMContentLoaded |
|
Emitted when the JavaScript DOMContentLoaded event is dispatched. |
Error |
|
Emitted when the page crashes. Will contain an |
FrameAttached |
|
Emitted when a frame is attached. Will contain a Frame. |
FrameDetached |
|
Emitted when a frame is detached. Will contain a Frame. |
FrameNavigated |
|
Emitted when a frame is navigated to a new URL. Will contain a Frame. |
Load |
|
Emitted when the JavaScript load event is dispatched. |
Metrics |
|
Emitted when the JavaScript code makes a call to |
PageError |
|
Emitted when an uncaught exception happens within the page. Contains an |
Popup |
|
Emitted when the page opens a new tab or window. Contains a Page corresponding to the popup window. |
Request |
|
Emitted when a page issues a request and contains a HTTPRequest. |
RequestFailed |
|
Emitted when a request fails, for example by timing out. Contains a HTTPRequest. |
RequestFinished |
|
Emitted when a request finishes successfully. Contains a HTTPRequest. |
RequestServedFromCache |
|
Emitted when a request ended up loading from cache. Contains a HTTPRequest. |
Response |
|
Emitted when a response is received. Contains a HTTPResponse. |
WorkerCreated |
|
Emitted when a dedicated WebWorker is spawned by the page. |
WorkerDestroyed |
|
Emitted when a dedicated WebWorker is destroyed by the page. |