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 [Dialog.accept()](./puppeteer.dialog.accept.md) or [Dialog.dismiss()](./puppeteer.dialog.dismiss.md).
</td></tr>
<tr><td>
DOMContentLoaded
</td><td>
`"domcontentloaded"`
</td><td>
Emitted when the JavaScript [DOMContentLoaded](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded) event is dispatched.
</td></tr>
<tr><td>
Error
</td><td>
`"error"`
</td><td>
Emitted when the page crashes. Will contain an `Error`.
</td></tr>
<tr><td>
FrameAttached
</td><td>
`"frameattached"`
</td><td>
Emitted when a frame is attached. Will contain a [Frame](./puppeteer.frame.md).
</td></tr>
<tr><td>
FrameDetached
</td><td>
`"framedetached"`
</td><td>
Emitted when a frame is detached. Will contain a [Frame](./puppeteer.frame.md).
</td></tr>
<tr><td>
FrameNavigated
</td><td>
`"framenavigated"`
</td><td>
Emitted when a frame is navigated to a new URL. Will contain a [Frame](./puppeteer.frame.md).
</td></tr>
<tr><td>
Load
</td><td>
`"load"`
</td><td>
Emitted when the JavaScript [load](https://developer.mozilla.org/en-US/docs/Web/Events/load) event is dispatched.
</td></tr>
<tr><td>
Metrics
</td><td>
`"metrics"`
</td><td>
Emitted when the JavaScript code makes a call to `console.timeStamp`. For the list of metrics see [page.metrics](./puppeteer.page.metrics.md).
HTTP Error responses, such as 404 or 503, are still successful responses from HTTP standpoint, so request will complete with `requestfinished` event and not with `requestfailed`.