pl.wendigo.chrome.api.runtime / ConsoleAPICalledEvent

ConsoleAPICalledEvent

data class ConsoleAPICalledEvent : Event (source)

Issued when console API was called.

Link
Runtime#consoleAPICalled event documentation.

Constructors

<init>

ConsoleAPICalledEvent(type: String, args: List<RemoteObject>, executionContextId: ExecutionContextId, timestamp: Timestamp, stackTrace: StackTrace? = null, context: String? = null)

Issued when console API was called.

Properties

args

val args: List<RemoteObject>

Call arguments.

context

val 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

val executionContextId: ExecutionContextId

Identifier of the context where the call was made.

stackTrace

val 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

val timestamp: Timestamp

Call timestamp.

type

val type: String

Type of the call.

Inherited Functions

protocolDomain

fun protocolDomain(): String