puppeteer/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

26 lines
2.2 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [ConsoleAPICalledEvent](./puppeteer.protocol.runtime.consoleapicalledevent.md)
## Protocol.Runtime.ConsoleAPICalledEvent interface
Issued when console API was called.
<b>Signature:</b>
```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: <code>assert</code>, <code>error</code>, <code>trace</code>, <code>warning</code>. For other types the async call chain can be retrieved using <code>Debugger.getStackTrace</code> and <code>stackTrace.parentId</code> 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) |