mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
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.
26 lines
2.2 KiB
Markdown
26 lines
2.2 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[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.
|
|
|
|
<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) |
|
|
|