RuntimeClient Methods |
The RuntimeClient type exposes the following members.
Name | Description | |
---|---|---|
AddBindingAsync |
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.
| |
AwaitPromiseAsync |
Add handler to promise with given promise object id.
| |
CallFunctionOnAsync | ||
CompileScriptAsync | ||
DisableAsync |
Disables reporting of execution contexts creation.
| |
DiscardConsoleEntriesAsync |
Discards collected exceptions and console API calls.
| |
EnableAsync |
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.
| |
EnumToString(Enum) | (Inherited from DevToolsDomainBase.) | |
EnumToString(PermissionType) | (Inherited from DevToolsDomainBase.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateAsync | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeapUsageAsync |
Returns the JavaScript heap usage.
It is the total usage of the corresponding isolate not scoped to a particular Runtime.
| |
GetIsolateIdAsync |
Returns the isolate id.
| |
GetPropertiesAsync | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GlobalLexicalScopeNamesAsync |
Returns all let, const and class variables from global scope.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
QueryObjectsAsync |
QueryObjects
| |
ReleaseObjectAsync |
Releases remote object with given id.
| |
ReleaseObjectGroupAsync |
Releases all remote objects that belong to a given group.
| |
RemoveBindingAsync |
This method does not remove binding function from global object but
unsubscribes current runtime agent from Runtime.bindingCalled notifications.
| |
RunIfWaitingForDebuggerAsync |
Tells inspected instance to run if it was waiting for debugger to attach.
| |
RunScriptAsync | ||
SetAsyncCallStackDepthAsync | ||
SetCustomObjectFormatterEnabledAsync |
SetCustomObjectFormatterEnabled
| |
SetMaxCallStackSizeToCaptureAsync |
SetMaxCallStackSizeToCapture
| |
TerminateExecutionAsync |
Terminate current or next JavaScript execution.
Will cancel the termination when the outer-most script execution ends.
| |
ToBase64String | (Inherited from DevToolsDomainBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |