package
0.35.0
Repository: https://github.com/mafredri/cdp.git
Documentation: pkg.go.dev

# Functions

NewAddBindingArgs initializes AddBindingArgs with the required arguments.
NewAwaitPromiseArgs initializes AwaitPromiseArgs with the required arguments.
NewCallFunctionOnArgs initializes CallFunctionOnArgs with the required arguments.
NewClient returns a client for the Runtime domain with the connection set to conn.
NewCompileScriptArgs initializes CompileScriptArgs with the required arguments.
NewEvaluateArgs initializes EvaluateArgs with the required arguments.
NewGetExceptionDetailsArgs initializes GetExceptionDetailsArgs with the required arguments.
NewGetPropertiesArgs initializes GetPropertiesArgs with the required arguments.
NewGlobalLexicalScopeNamesArgs initializes GlobalLexicalScopeNamesArgs with the required arguments.
NewQueryObjectsArgs initializes QueryObjectsArgs with the required arguments.
NewReleaseObjectArgs initializes ReleaseObjectArgs with the required arguments.
NewReleaseObjectGroupArgs initializes ReleaseObjectGroupArgs with the required arguments.
NewRemoveBindingArgs initializes RemoveBindingArgs with the required arguments.
NewRunScriptArgs initializes RunScriptArgs with the required arguments.
NewSetCustomObjectFormatterEnabledArgs initializes SetCustomObjectFormatterEnabledArgs with the required arguments.
NewSetMaxCallStackSizeToCaptureArgs initializes SetMaxCallStackSizeToCaptureArgs with the required arguments.

# Structs

AddBindingArgs represents the arguments for AddBinding in the Runtime domain.
AwaitPromiseArgs represents the arguments for AwaitPromise in the Runtime domain.
AwaitPromiseReply represents the return values for AwaitPromise in the Runtime domain.
BindingCalledReply is the reply for BindingCalled events.
CallArgument Represents function call argument.
CallFrame Stack entry for runtime errors and assertions.
CallFunctionOnArgs represents the arguments for CallFunctionOn in the Runtime domain.
CallFunctionOnReply represents the return values for CallFunctionOn in the Runtime domain.
CompileScriptArgs represents the arguments for CompileScript in the Runtime domain.
CompileScriptReply represents the return values for CompileScript in the Runtime domain.
ConsoleAPICalledReply is the reply for ConsoleAPICalled events.
CustomPreview Note: This type is experimental.
DeepSerializedValue Represents deep serialized value.
EntryPreview Note: This type is experimental.
EvaluateArgs represents the arguments for Evaluate in the Runtime domain.
EvaluateReply represents the return values for Evaluate in the Runtime domain.
ExceptionDetails Detailed information about exception (or error) that was thrown during script compilation or execution.
ExceptionRevokedReply is the reply for ExceptionRevoked events.
ExceptionThrownReply is the reply for ExceptionThrown events.
ExecutionContextCreatedReply is the reply for ExecutionContextCreated events.
ExecutionContextDescription Description of an isolated world.
ExecutionContextDestroyedReply is the reply for ExecutionContextDestroyed events.
ExecutionContextsClearedReply is the reply for ExecutionContextsCleared events.
GetExceptionDetailsArgs represents the arguments for GetExceptionDetails in the Runtime domain.
GetExceptionDetailsReply represents the return values for GetExceptionDetails in the Runtime domain.
GetHeapUsageReply represents the return values for GetHeapUsage in the Runtime domain.
GetIsolateIDReply represents the return values for GetIsolateID in the Runtime domain.
GetPropertiesArgs represents the arguments for GetProperties in the Runtime domain.
GetPropertiesReply represents the return values for GetProperties in the Runtime domain.
GlobalLexicalScopeNamesArgs represents the arguments for GlobalLexicalScopeNames in the Runtime domain.
GlobalLexicalScopeNamesReply represents the return values for GlobalLexicalScopeNames in the Runtime domain.
InspectRequestedReply is the reply for InspectRequested events.
InternalPropertyDescriptor Object internal property descriptor.
ObjectPreview Object containing abbreviated remote object value.
PrivatePropertyDescriptor Object private field descriptor.
PropertyDescriptor Object property descriptor.
PropertyPreview Note: This type is experimental.
QueryObjectsArgs represents the arguments for QueryObjects in the Runtime domain.
QueryObjectsReply represents the return values for QueryObjects in the Runtime domain.
ReleaseObjectArgs represents the arguments for ReleaseObject in the Runtime domain.
ReleaseObjectGroupArgs represents the arguments for ReleaseObjectGroup in the Runtime domain.
RemoteObject Mirror object referencing original JavaScript object.
RemoveBindingArgs represents the arguments for RemoveBinding in the Runtime domain.
RunScriptArgs represents the arguments for RunScript in the Runtime domain.
RunScriptReply represents the return values for RunScript in the Runtime domain.
SerializationOptions Represents options for serialization.
SetCustomObjectFormatterEnabledArgs represents the arguments for SetCustomObjectFormatterEnabled in the Runtime domain.
SetMaxCallStackSizeToCaptureArgs represents the arguments for SetMaxCallStackSizeToCapture in the Runtime domain.
StackTrace Call frames for assertions or error messages.
StackTraceID If `debuggerId` is set stack trace comes from another debugger and can be resolved there.

# Interfaces

BindingCalledClient is a client for BindingCalled events.
ConsoleAPICalledClient is a client for ConsoleAPICalled events.
ExceptionRevokedClient is a client for ExceptionRevoked events.
ExceptionThrownClient is a client for ExceptionThrown events.
ExecutionContextCreatedClient is a client for ExecutionContextCreated events.
ExecutionContextDestroyedClient is a client for ExecutionContextDestroyed events.
ExecutionContextsClearedClient is a client for ExecutionContextsCleared events.
InspectRequestedClient is a client for InspectRequested events.

# Type aliases

ExecutionContextID Id of an execution context.
RemoteObjectID Unique object identifier.
ScriptID Unique script identifier.
TimeDelta Number of milliseconds.
Timestamp Number of milliseconds since epoch.
UniqueDebuggerID Unique identifier of current debugger.
UnserializableValue Primitive value which cannot be JSON-stringified.