Class ConsoleAPICalled
java.lang.Object
org.openqa.selenium.devtools.v119.runtime.model.ConsoleAPICalled
Issued when console API was called.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConsoleAPICalled
(ConsoleAPICalled.Type type, List<RemoteObject> args, ExecutionContextId executionContextId, Timestamp timestamp, Optional<StackTrace> stackTrace, Optional<String> context) -
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
Call arguments.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.Identifier of the context where the call was made.Stack trace captured when the call was made.Call timestamp.getType()
Type of the call.
-
Constructor Details
-
ConsoleAPICalled
public ConsoleAPICalled(ConsoleAPICalled.Type type, List<RemoteObject> args, ExecutionContextId executionContextId, Timestamp timestamp, Optional<StackTrace> stackTrace, Optional<String> context)
-
-
Method Details
-
getType
Type of the call. -
getArgs
Call arguments. -
getExecutionContextId
Identifier of the context where the call was made. -
getTimestamp
Call timestamp. -
getStackTrace
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. -
getContext
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.
-