[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ConsoleAPICalledEvent](./puppeteer.protocol.runtime.consoleapicalledevent.md) ## Protocol.Runtime.ConsoleAPICalledEvent interface Issued when console API was called. Signature: ```typescript export interface ConsoleAPICalledEvent ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [args](./puppeteer.protocol.runtime.consoleapicalledevent.args.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md)\[\] | Call arguments. | | [context](./puppeteer.protocol.runtime.consoleapicalledevent.context.md) | string | Console context descriptor for calls on non-default console context (not console.\*): 'anonymous\#unique-logger-id' for call on unnamed context, 'name\#unique-logger-id' for call on named context. | | [executionContextId](./puppeteer.protocol.runtime.consoleapicalledevent.executioncontextid.md) | [ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Identifier of the context where the call was made. | | [stackTrace](./puppeteer.protocol.runtime.consoleapicalledevent.stacktrace.md) | [StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field. | | [timestamp](./puppeteer.protocol.runtime.consoleapicalledevent.timestamp.md) | [Timestamp](./puppeteer.protocol.runtime.timestamp.md) | Call timestamp. | | [type](./puppeteer.protocol.runtime.consoleapicalledevent.type.md) | ('log' \| 'debug' \| 'info' \| 'error' \| 'warning' \| 'dir' \| 'dirxml' \| 'table' \| 'trace' \| 'clear' \| 'startGroup' \| 'startGroupCollapsed' \| 'endGroup' \| 'assert' \| 'profile' \| 'profileEnd' \| 'count' \| 'timeEnd') | Type of the call. (ConsoleAPICalledEventType enum) |