import { PageEmittedEvents } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";
All the events that a page instance may emit.
Members
Emitted when JavaScript within the page calls one of console API methods,
e.g. console.log
or console.dir
. Also emitted if the page throws an
error or a warning.
Emitted when a JavaScript dialog appears, such as alert
, prompt
,
confirm
or beforeunload
. Puppeteer can respond to the dialog via
{@link Dialog.accept} or {@link Dialog.dismiss}.
Emitted when the JavaScript DOMContentLoaded event is dispatched.
Emitted when the JavaScript code makes a call to console.timeStamp
. For
the list of metrics see {@link Page.metrics | page.metrics}.
Emitted when the page opens a new tab or window.
Contains a {@link Page} corresponding to the popup window.