ConsoleAPICalledEvent

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

Issued when console API was called.

Constructors

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

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

args
Link copied to clipboard
val args: List<RemoteObject>
Call arguments.
context
Link copied to clipboard
val context: String? = null
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
Link copied to clipboard
val executionContextId: ExecutionContextId
Identifier of the context where the call was made.
stackTrace
Link copied to clipboard
val stackTrace: StackTrace? = null
Stack trace captured when the call was made.
timestamp
Link copied to clipboard
val timestamp: Timestamp
Call timestamp.
type
Link copied to clipboard
val type: String
Type of the call.

Sources

jvm source
Link copied to clipboard