Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandRuntimeAddBinding + const CommandRuntimeAwaitPromise + const CommandRuntimeCallFunctionOn + const CommandRuntimeCompileScript + const CommandRuntimeDisable + const CommandRuntimeDiscardConsoleEntries + const CommandRuntimeEnable + const CommandRuntimeEvaluate + const CommandRuntimeGetHeapUsage + const CommandRuntimeGetIsolateId + const CommandRuntimeGetProperties + const CommandRuntimeGlobalLexicalScopeNames + const CommandRuntimeQueryObjects + const CommandRuntimeReleaseObject + const CommandRuntimeReleaseObjectGroup + const CommandRuntimeRemoveBinding + const CommandRuntimeRunIfWaitingForDebugger + const CommandRuntimeRunScript + const CommandRuntimeSetAsyncCallStackDepth + const CommandRuntimeSetCustomObjectFormatterEnabled + const CommandRuntimeSetMaxCallStackSizeToCapture + const CommandRuntimeTerminateExecution + const EventRuntimeBindingCalled + const EventRuntimeConsoleAPICalled + const EventRuntimeExceptionRevoked + const EventRuntimeExceptionThrown + const EventRuntimeExecutionContextCreated + const EventRuntimeExecutionContextDestroyed + const EventRuntimeExecutionContextsCleared + const EventRuntimeInspectRequested + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type AddBindingArgs struct + ExecutionContextID ExecutionContextID + Name string + func (a *AddBindingArgs) MarshalJSON() ([]byte, error) + func (a *AddBindingArgs) UnmarshalJSON(b []byte) error + type AddBindingReply struct + func (a *AddBindingReply) GetFrameID() string + func (a *AddBindingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AddBindingReply) UnmarshalJSON(b []byte) error + type AwaitPromiseArgs struct + GeneratePreview bool + PromiseObjectID shared.RemoteObjectID + ReturnByValue bool + func (a *AwaitPromiseArgs) MarshalJSON() ([]byte, error) + func (a *AwaitPromiseArgs) UnmarshalJSON(b []byte) error + type AwaitPromiseReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + func (a *AwaitPromiseReply) GetFrameID() string + func (a *AwaitPromiseReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AwaitPromiseReply) UnmarshalJSON(b []byte) error + type BindingCalledReply struct + ExecutionContextID ExecutionContextID + Name string + Payload string + func (a *BindingCalledReply) GetFrameID() string + func (a *BindingCalledReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *BindingCalledReply) UnmarshalJSON(b []byte) error + type CallArgument struct + ObjectID shared.RemoteObjectID + UnserializableValue *UnserializableValue + Value *json.RawMessage + type CallFrame struct + ColumnNumber int + FunctionName string + LineNumber int + ScriptID ScriptID + URL string + type CallFunctionOnArgs struct + Arguments *[]CallArgument + AwaitPromise bool + ExecutionContextID ExecutionContextID + FunctionDeclaration string + GeneratePreview bool + ObjectGroup string + ObjectID shared.RemoteObjectID + ReturnByValue bool + Silent bool + UserGesture bool + func (a *CallFunctionOnArgs) MarshalJSON() ([]byte, error) + func (a *CallFunctionOnArgs) UnmarshalJSON(b []byte) error + type CallFunctionOnReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + func (a *CallFunctionOnReply) GetFrameID() string + func (a *CallFunctionOnReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CallFunctionOnReply) UnmarshalJSON(b []byte) error + type CompileScriptArgs struct + ExecutionContextID ExecutionContextID + Expression string + PersistScript bool + SourceURL string + func (a *CompileScriptArgs) MarshalJSON() ([]byte, error) + func (a *CompileScriptArgs) UnmarshalJSON(b []byte) error + type CompileScriptReply struct + ExceptionDetails *ExceptionDetails + ScriptID ScriptID + func (a *CompileScriptReply) GetFrameID() string + func (a *CompileScriptReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CompileScriptReply) UnmarshalJSON(b []byte) error + type ConsoleAPICalledReply struct + Args []RemoteObject + Context string + ExecutionContextID ExecutionContextID + StackTrace *StackTrace + Timestamp Timestamp + Type string + func (a *ConsoleAPICalledReply) GetFrameID() string + func (a *ConsoleAPICalledReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ConsoleAPICalledReply) UnmarshalJSON(b []byte) error + type CustomPreview struct + BodyGetterID shared.RemoteObjectID + Header string + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type DiscardConsoleEntriesArgs struct + func (a *DiscardConsoleEntriesArgs) MarshalJSON() ([]byte, error) + func (a *DiscardConsoleEntriesArgs) UnmarshalJSON(b []byte) error + type DiscardConsoleEntriesReply struct + func (a *DiscardConsoleEntriesReply) GetFrameID() string + func (a *DiscardConsoleEntriesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DiscardConsoleEntriesReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type EntryPreview struct + Key *ObjectPreview + Value ObjectPreview + type EvaluateArgs struct + AwaitPromise bool + ContextID ExecutionContextID + DisableBreaks bool + Expression string + GeneratePreview bool + IncludeCommandLineAPI bool + ObjectGroup string + ReplMode bool + ReturnByValue bool + Silent bool + ThrowOnSideEffect bool + Timeout *TimeDelta + UserGesture bool + func (a *EvaluateArgs) MarshalJSON() ([]byte, error) + func (a *EvaluateArgs) UnmarshalJSON(b []byte) error + type EvaluateReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + func (a *EvaluateReply) GetFrameID() string + func (a *EvaluateReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EvaluateReply) UnmarshalJSON(b []byte) error + type ExceptionDetails struct + ColumnNumber int + Exception *RemoteObject + ExceptionID int + ExecutionContextID ExecutionContextID + LineNumber int + ScriptID ScriptID + StackTrace *StackTrace + Text string + URL string + type ExceptionRevokedReply struct + ExceptionID int + Reason string + func (a *ExceptionRevokedReply) GetFrameID() string + func (a *ExceptionRevokedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExceptionRevokedReply) UnmarshalJSON(b []byte) error + type ExceptionThrownReply struct + ExceptionDetails ExceptionDetails + Timestamp Timestamp + func (a *ExceptionThrownReply) GetFrameID() string + func (a *ExceptionThrownReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExceptionThrownReply) UnmarshalJSON(b []byte) error + type ExecutionContextCreatedReply struct + Context ExecutionContextDescription + func (a *ExecutionContextCreatedReply) GetFrameID() string + func (a *ExecutionContextCreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExecutionContextCreatedReply) UnmarshalJSON(b []byte) error + type ExecutionContextDescription struct + AuxData *json.RawMessage + ID ExecutionContextID + Name string + Origin string + type ExecutionContextDestroyedReply struct + ExecutionContextID ExecutionContextID + func (a *ExecutionContextDestroyedReply) GetFrameID() string + func (a *ExecutionContextDestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExecutionContextDestroyedReply) UnmarshalJSON(b []byte) error + type ExecutionContextID int + type ExecutionContextsClearedReply struct + func (a *ExecutionContextsClearedReply) GetFrameID() string + func (a *ExecutionContextsClearedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExecutionContextsClearedReply) UnmarshalJSON(b []byte) error + type GetHeapUsageArgs struct + func (a *GetHeapUsageArgs) MarshalJSON() ([]byte, error) + func (a *GetHeapUsageArgs) UnmarshalJSON(b []byte) error + type GetHeapUsageReply struct + TotalSize float64 + UsedSize float64 + func (a *GetHeapUsageReply) GetFrameID() string + func (a *GetHeapUsageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetHeapUsageReply) UnmarshalJSON(b []byte) error + type GetIsolateIDArgs struct + func (a *GetIsolateIDArgs) MarshalJSON() ([]byte, error) + func (a *GetIsolateIDArgs) UnmarshalJSON(b []byte) error + type GetIsolateIDReply struct + ID string + func (a *GetIsolateIDReply) GetFrameID() string + func (a *GetIsolateIDReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetIsolateIDReply) UnmarshalJSON(b []byte) error + type GetPropertiesArgs struct + AccessorPropertiesOnly bool + GeneratePreview bool + ObjectID shared.RemoteObjectID + OwnProperties bool + func (a *GetPropertiesArgs) MarshalJSON() ([]byte, error) + func (a *GetPropertiesArgs) UnmarshalJSON(b []byte) error + type GetPropertiesReply struct + ExceptionDetails *ExceptionDetails + InternalProperties *[]InternalPropertyDescriptor + PrivateProperties *[]PrivatePropertyDescriptor + Result []PropertyDescriptor + func (a *GetPropertiesReply) GetFrameID() string + func (a *GetPropertiesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetPropertiesReply) UnmarshalJSON(b []byte) error + type GlobalLexicalScopeNamesArgs struct + ExecutionContextID ExecutionContextID + func (a *GlobalLexicalScopeNamesArgs) MarshalJSON() ([]byte, error) + func (a *GlobalLexicalScopeNamesArgs) UnmarshalJSON(b []byte) error + type GlobalLexicalScopeNamesReply struct + Names []string + func (a *GlobalLexicalScopeNamesReply) GetFrameID() string + func (a *GlobalLexicalScopeNamesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GlobalLexicalScopeNamesReply) UnmarshalJSON(b []byte) error + type InspectRequestedReply struct + Hints json.RawMessage + Object RemoteObject + func (a *InspectRequestedReply) GetFrameID() string + func (a *InspectRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InspectRequestedReply) UnmarshalJSON(b []byte) error + type InternalPropertyDescriptor struct + Name string + Value *RemoteObject + type ObjectPreview struct + Description string + Entries *[]EntryPreview + Overflow bool + Properties []PropertyPreview + Subtype string + Type string + type PrivatePropertyDescriptor struct + Get *RemoteObject + Name string + Set *RemoteObject + Value *RemoteObject + type PropertyDescriptor struct + Configurable bool + Enumerable bool + Get *RemoteObject + IsOwn bool + Name string + Set *RemoteObject + Symbol *RemoteObject + Value *RemoteObject + WasThrown bool + Writable bool + type PropertyPreview struct + Name string + Subtype string + Type string + Value string + ValuePreview *ObjectPreview + type QueryObjectsArgs struct + ObjectGroup string + PrototypeObjectID shared.RemoteObjectID + func (a *QueryObjectsArgs) MarshalJSON() ([]byte, error) + func (a *QueryObjectsArgs) UnmarshalJSON(b []byte) error + type QueryObjectsReply struct + Objects RemoteObject + func (a *QueryObjectsReply) GetFrameID() string + func (a *QueryObjectsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *QueryObjectsReply) UnmarshalJSON(b []byte) error + type ReleaseObjectArgs struct + ObjectID shared.RemoteObjectID + func (a *ReleaseObjectArgs) MarshalJSON() ([]byte, error) + func (a *ReleaseObjectArgs) UnmarshalJSON(b []byte) error + type ReleaseObjectGroupArgs struct + ObjectGroup string + func (a *ReleaseObjectGroupArgs) MarshalJSON() ([]byte, error) + func (a *ReleaseObjectGroupArgs) UnmarshalJSON(b []byte) error + type ReleaseObjectGroupReply struct + func (a *ReleaseObjectGroupReply) GetFrameID() string + func (a *ReleaseObjectGroupReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ReleaseObjectGroupReply) UnmarshalJSON(b []byte) error + type ReleaseObjectReply struct + func (a *ReleaseObjectReply) GetFrameID() string + func (a *ReleaseObjectReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ReleaseObjectReply) UnmarshalJSON(b []byte) error + type RemoteObject struct + ClassName string + CustomPreview *CustomPreview + Description string + ObjectID shared.RemoteObjectID + Preview *ObjectPreview + Subtype string + Type string + UnserializableValue *UnserializableValue + Value *json.RawMessage + type RemoveBindingArgs struct + Name string + func (a *RemoveBindingArgs) MarshalJSON() ([]byte, error) + func (a *RemoveBindingArgs) UnmarshalJSON(b []byte) error + type RemoveBindingReply struct + func (a *RemoveBindingReply) GetFrameID() string + func (a *RemoveBindingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *RemoveBindingReply) UnmarshalJSON(b []byte) error + type RunIfWaitingForDebuggerArgs struct + func (a *RunIfWaitingForDebuggerArgs) MarshalJSON() ([]byte, error) + func (a *RunIfWaitingForDebuggerArgs) UnmarshalJSON(b []byte) error + type RunIfWaitingForDebuggerReply struct + func (a *RunIfWaitingForDebuggerReply) GetFrameID() string + func (a *RunIfWaitingForDebuggerReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *RunIfWaitingForDebuggerReply) UnmarshalJSON(b []byte) error + type RunScriptArgs struct + AwaitPromise bool + ExecutionContextID ExecutionContextID + GeneratePreview bool + IncludeCommandLineAPI bool + ObjectGroup string + ReturnByValue bool + ScriptID ScriptID + Silent bool + func (a *RunScriptArgs) MarshalJSON() ([]byte, error) + func (a *RunScriptArgs) UnmarshalJSON(b []byte) error + type RunScriptReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + func (a *RunScriptReply) GetFrameID() string + func (a *RunScriptReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *RunScriptReply) UnmarshalJSON(b []byte) error + type ScriptID string + type SetCustomObjectFormatterEnabledArgs struct + Enabled bool + func (a *SetCustomObjectFormatterEnabledArgs) MarshalJSON() ([]byte, error) + func (a *SetCustomObjectFormatterEnabledArgs) UnmarshalJSON(b []byte) error + type SetCustomObjectFormatterEnabledReply struct + func (a *SetCustomObjectFormatterEnabledReply) GetFrameID() string + func (a *SetCustomObjectFormatterEnabledReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetCustomObjectFormatterEnabledReply) UnmarshalJSON(b []byte) error + type SetMaxCallStackSizeToCaptureArgs struct + Size int + func (a *SetMaxCallStackSizeToCaptureArgs) MarshalJSON() ([]byte, error) + func (a *SetMaxCallStackSizeToCaptureArgs) UnmarshalJSON(b []byte) error + type SetMaxCallStackSizeToCaptureReply struct + func (a *SetMaxCallStackSizeToCaptureReply) GetFrameID() string + func (a *SetMaxCallStackSizeToCaptureReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetMaxCallStackSizeToCaptureReply) UnmarshalJSON(b []byte) error + type StackTrace struct + CallFrames []CallFrame + Description string + Parent *StackTrace + ParentID StackTraceID + type StackTraceID struct + DebuggerID UniqueDebuggerID + ID string + type TerminateExecutionArgs struct + func (a *TerminateExecutionArgs) MarshalJSON() ([]byte, error) + func (a *TerminateExecutionArgs) UnmarshalJSON(b []byte) error + type TerminateExecutionReply struct + func (a *TerminateExecutionReply) GetFrameID() string + func (a *TerminateExecutionReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *TerminateExecutionReply) UnmarshalJSON(b []byte) error + type TimeDelta float64 + type Timestamp float64 + func (t *Timestamp) UnmarshalJSON(data []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) String() string + func (t Timestamp) Time() time.Time + type UniqueDebuggerID string + type Unmarshaler func() json.Unmarshaler + type UnserializableValue string