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.
2.2 KiB
2.2 KiB
Home > puppeteer > Protocol > Runtime > ConsoleAPICalledEvent
Protocol.Runtime.ConsoleAPICalledEvent interface
Issued when console API was called.
Signature:
export interface ConsoleAPICalledEvent
Properties
Property | Type | Description |
---|---|---|
args | RemoteObject[] | Call arguments. |
context | 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 | ExecutionContextId | Identifier of the context where the call was made. |
stackTrace | StackTrace | 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 | Timestamp | Call timestamp. |
type | ('log' | 'debug' | 'info' | 'error' | 'warning' | 'dir' | 'dirxml' | 'table' | 'trace' | 'clear' | 'startGroup' | 'startGroupCollapsed' | 'endGroup' | 'assert' | 'profile' | 'profileEnd' | 'count' | 'timeEnd') | Type of the call. (ConsoleAPICalledEventType enum) |