puppeteer/new-docs/puppeteer.page._onconsoleapi.md

23 lines
565 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [\_onConsoleAPI](./puppeteer.page._onconsoleapi.md)
## Page.\_onConsoleAPI() method
<b>Signature:</b>
```typescript
_onConsoleAPI(event: Protocol.Runtime.consoleAPICalledPayload): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| event | Protocol.Runtime.consoleAPICalledPayload | |
<b>Returns:</b>
Promise&lt;void&gt;