Click or drag to resize

RuntimeClient Methods

Version 86.0.240

The RuntimeClient type exposes the following members.

Methods
  NameDescription
Public methodAddBindingAsync
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. If executionContextId is specified, adds binding only on global object of given execution context. 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.
Public methodAwaitPromiseAsync
Add handler to promise with given promise object id.
Public methodCallFunctionOnAsync
Public methodCompileScriptAsync
Public methodDisableAsync
Disables reporting of execution contexts creation.
Public methodDiscardConsoleEntriesAsync
Discards collected exceptions and console API calls.
Public methodEnableAsync
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.
Protected methodEnumToString(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluateAsync
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHeapUsageAsync
Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.
Public methodGetIsolateIdAsync
Returns the isolate id.
Public methodGetPropertiesAsync
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGlobalLexicalScopeNamesAsync
Returns all let, const and class variables from global scope.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQueryObjectsAsync
QueryObjects
Public methodReleaseObjectAsync
Releases remote object with given id.
Public methodReleaseObjectGroupAsync
Releases all remote objects that belong to a given group.
Public methodRemoveBindingAsync
This method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.
Public methodRunIfWaitingForDebuggerAsync
Tells inspected instance to run if it was waiting for debugger to attach.
Public methodRunScriptAsync
Public methodSetAsyncCallStackDepthAsync
Public methodSetCustomObjectFormatterEnabledAsync
SetCustomObjectFormatterEnabled
Public methodSetMaxCallStackSizeToCaptureAsync
SetMaxCallStackSizeToCapture
Public methodTerminateExecutionAsync
Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.
Protected methodToBase64String (Inherited from DevToolsDomainBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also