[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [\_onConsoleAPI](./puppeteer.page._onconsoleapi.md) ## Page.\_onConsoleAPI() method Signature: ```typescript _onConsoleAPI(event: Protocol.Runtime.consoleAPICalledPayload): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | event | Protocol.Runtime.consoleAPICalledPayload | | Returns: Promise<void>