Table of Contents

Namespace OpenQA.Selenium.DevTools.V146.Runtime

Classes

AddBindingCommandResponse

Response for If executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads. Binding function takes exactly one argument, this argument should be string, in case of any other input, function throws an exception. Each binding function call produces Runtime.bindingCalled notification.

AddBindingCommandSettings

If executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads. Binding function takes exactly one argument, this argument should be string, in case of any other input, function throws an exception. Each binding function call produces Runtime.bindingCalled notification.

AwaitPromiseCommandResponse

Response for Add handler to promise with given promise object id.

AwaitPromiseCommandSettings

Add handler to promise with given promise object id.

BindingCalledEventArgs

Notification is issued every time when binding is called.

CallArgument

Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

CallFrame

Stack entry for runtime errors and assertions.

CallFunctionOnCommandResponse

Response for Calls function with given declaration on the given object. Object group of the result is inherited from the target object.

CallFunctionOnCommandSettings

Calls function with given declaration on the given object. Object group of the result is inherited from the target object.

CompileScriptCommandResponse

Response for Compiles expression.

CompileScriptCommandSettings

Compiles expression.

ConsoleAPICalledEventArgs

Issued when console API was called.

CustomPreview

CustomPreview

DeepSerializedValue

Represents deep serialized value.

DisableCommandResponse

Response for Disables reporting of execution contexts creation.

DisableCommandSettings

Disables reporting of execution contexts creation.

DiscardConsoleEntriesCommandResponse

Response for Discards collected exceptions and console API calls.

DiscardConsoleEntriesCommandSettings

Discards collected exceptions and console API calls.

EnableCommandResponse

Response for Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context.

EnableCommandSettings

Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context.

EntryPreview

EntryPreview

EvaluateCommandResponse

Response for Evaluates expression on global object.

EvaluateCommandSettings

Evaluates expression on global object.

ExceptionDetails

Detailed information about exception (or error) that was thrown during script compilation or execution.

ExceptionRevokedEventArgs

Issued when unhandled exception was revoked.

ExceptionThrownEventArgs

Issued when exception was thrown and unhandled.

ExecutionContextCreatedEventArgs

Issued when new execution context is created.

ExecutionContextDescription

Description of an isolated world.

ExecutionContextDestroyedEventArgs

Issued when execution context is destroyed.

ExecutionContextsClearedEventArgs

Issued when all executionContexts were cleared in browser

GetExceptionDetailsCommandResponse

Response for This method tries to lookup and populate exception details for a JavaScript Error object. Note that the stackTrace portion of the resulting exceptionDetails will only be populated if the Runtime domain was enabled at the time when the Error was thrown.

GetExceptionDetailsCommandSettings

This method tries to lookup and populate exception details for a JavaScript Error object. Note that the stackTrace portion of the resulting exceptionDetails will only be populated if the Runtime domain was enabled at the time when the Error was thrown.

GetHeapUsageCommandResponse

Response for Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

GetHeapUsageCommandSettings

Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

GetIsolateIdCommandResponse

Response for Returns the isolate id.

GetIsolateIdCommandSettings

Returns the isolate id.

GetPropertiesCommandResponse

Response for Returns properties of a given object. Object group of the result is inherited from the target object.

GetPropertiesCommandSettings

Returns properties of a given object. Object group of the result is inherited from the target object.

GlobalLexicalScopeNamesCommandResponse

Response for Returns all let, const and class variables from global scope.

GlobalLexicalScopeNamesCommandSettings

Returns all let, const and class variables from global scope.

InspectRequestedEventArgs

Issued when object should be inspected (for example, as a result of inspect() command line API call).

InternalPropertyDescriptor

Object internal property descriptor. This property isn't normally visible in JavaScript code.

ObjectPreview

Object containing abbreviated remote object value.

PrivatePropertyDescriptor

Object private field descriptor.

PropertyDescriptor

Object property descriptor.

PropertyPreview

PropertyPreview

QueryObjectsCommandResponse

Response for QueryObjects

QueryObjectsCommandSettings

QueryObjects

ReleaseObjectCommandResponse

Response for Releases remote object with given id.

ReleaseObjectCommandSettings

Releases remote object with given id.

ReleaseObjectGroupCommandResponse

Response for Releases all remote objects that belong to a given group.

ReleaseObjectGroupCommandSettings

Releases all remote objects that belong to a given group.

RemoteObject

Mirror object referencing original JavaScript object.

RemoveBindingCommandResponse

Response for This method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.

RemoveBindingCommandSettings

This method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.

RunIfWaitingForDebuggerCommandResponse

Response for Tells inspected instance to run if it was waiting for debugger to attach.

RunIfWaitingForDebuggerCommandSettings

Tells inspected instance to run if it was waiting for debugger to attach.

RunScriptCommandResponse

Response for Runs script with given id in a given context.

RunScriptCommandSettings

Runs script with given id in a given context.

RuntimeAdapter

Represents an adapter for the Runtime domain to simplify the command interface.

SerializationOptions

Represents options for serialization. Overrides generatePreview and returnByValue.

SetAsyncCallStackDepthCommandResponse

Response for Enables or disables async call stacks tracking.

SetAsyncCallStackDepthCommandSettings

Enables or disables async call stacks tracking.

SetCustomObjectFormatterEnabledCommandResponse

Response for SetCustomObjectFormatterEnabled

SetCustomObjectFormatterEnabledCommandSettings

SetCustomObjectFormatterEnabled

SetMaxCallStackSizeToCaptureCommandResponse

Response for SetMaxCallStackSizeToCapture

SetMaxCallStackSizeToCaptureCommandSettings

SetMaxCallStackSizeToCapture

StackTrace

Call frames for assertions or error messages.

StackTraceId

If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages.

TerminateExecutionCommandResponse

Response for Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.

TerminateExecutionCommandSettings

Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.

Enums

DeepSerializedValueTypeValues

Enumerated values for Runtime.DeepSerializedValue.type

ObjectPreviewSubtypeValues

Enumerated values for Runtime.ObjectPreview.subtype

ObjectPreviewTypeValues

Enumerated values for Runtime.ObjectPreview.type

PropertyPreviewSubtypeValues

Enumerated values for Runtime.PropertyPreview.subtype

PropertyPreviewTypeValues

Enumerated values for Runtime.PropertyPreview.type

RemoteObjectSubtypeValues

Enumerated values for Runtime.RemoteObject.subtype

RemoteObjectTypeValues

Enumerated values for Runtime.RemoteObject.type

SerializationOptionsSerializationValues

Enumerated values for Runtime.SerializationOptions.serialization