package runtime
Import Path
github.com/chromedp/cdproto/runtime (on go.dev)
Dependency Relation
imports 10 packages, and imported by 16 packages
Involved Source Files
easyjson.go
events.go
Package runtime provides the Chrome DevTools Protocol
commands, types, and events for the Runtime domain.
Runtime domain exposes JavaScript runtime by means of remote evaluation
and mirror objects. Evaluation results are returned as mirror object that
expose object type, string representation and unique identifier that can be
used for further object reference. Original objects are maintained in memory
unless they are either explicitly released or are released along with the
other objects in their object group.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 69)
AddBindingParams 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.
// If specified, the binding is exposed to the executionContext with matching name, even for contexts created after the binding is added. See also ExecutionContext.name and worldName parameter to Page.addScriptToEvaluateOnNewDocument. This parameter is mutually exclusive with executionContextId.
Name string
Do executes Runtime.addBinding against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithExecutionContextName if specified, the binding is exposed to the
executionContext with matching name, even for contexts created after the
binding is added. See also ExecutionContext.name and worldName parameter to
Page.addScriptToEvaluateOnNewDocument. This parameter is mutually exclusive
with executionContextId.
*AddBindingParams : github.com/chromedp/chromedp.Action
*AddBindingParams : github.com/chromedp/chromedp.CallAction
*AddBindingParams : github.com/chromedp/chromedp.EmulateAction
*AddBindingParams : github.com/chromedp/chromedp.EvaluateAction
*AddBindingParams : github.com/chromedp/chromedp.KeyAction
*AddBindingParams : github.com/chromedp/chromedp.MouseAction
*AddBindingParams : github.com/chromedp/chromedp.NavigateAction
*AddBindingParams : github.com/chromedp/chromedp.PollAction
*AddBindingParams : github.com/chromedp/chromedp.QueryAction
AddBindingParams : github.com/goccy/go-json.Marshaler
*AddBindingParams : github.com/goccy/go-json.Unmarshaler
AddBindingParams : github.com/mailru/easyjson.Marshaler
*AddBindingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*AddBindingParams : github.com/mailru/easyjson.Unmarshaler
AddBindingParams : encoding/json.Marshaler
*AddBindingParams : encoding/json.Unmarshaler
func AddBinding(name string) *AddBindingParams
func AddBindingParams.WithExecutionContextName(executionContextName string) *AddBindingParams
APIType type of the call.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-consoleAPICalled
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the APIType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
APIType : github.com/goccy/go-json.Marshaler
*APIType : github.com/goccy/go-json.Unmarshaler
APIType : github.com/mailru/easyjson.Marshaler
*APIType : github.com/mailru/easyjson.MarshalerUnmarshaler
*APIType : github.com/mailru/easyjson.Unmarshaler
APIType : encoding/json.Marshaler
*APIType : encoding/json.Unmarshaler
APIType : expvar.Var
APIType : fmt.Stringer
const APITypeAssert
const APITypeClear
const APITypeCount
const APITypeDebug
const APITypeDir
const APITypeDirxml
const APITypeEndGroup
const APITypeError
const APITypeInfo
const APITypeLog
const APITypeProfile
const APITypeProfileEnd
const APITypeStartGroup
const APITypeStartGroupCollapsed
const APITypeTable
const APITypeTimeEnd
const APITypeTrace
const APITypeWarning
AwaitPromiseParams add handler to promise with given promise object id.
// Whether preview should be generated for the result.
// Identifier of the promise.
// Whether the result is expected to be a JSON object that should be sent by value.
Do executes Runtime.awaitPromise against the provided context.
returns:
result - Promise result. Will contain rejected value if promise was rejected.
exceptionDetails - Exception details if stack strace is available.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithGeneratePreview whether preview should be generated for the result.
WithReturnByValue whether the result is expected to be a JSON object that
should be sent by value.
AwaitPromiseParams : github.com/goccy/go-json.Marshaler
*AwaitPromiseParams : github.com/goccy/go-json.Unmarshaler
AwaitPromiseParams : github.com/mailru/easyjson.Marshaler
*AwaitPromiseParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*AwaitPromiseParams : github.com/mailru/easyjson.Unmarshaler
AwaitPromiseParams : encoding/json.Marshaler
*AwaitPromiseParams : encoding/json.Unmarshaler
func AwaitPromise(promiseObjectID RemoteObjectID) *AwaitPromiseParams
func AwaitPromiseParams.WithGeneratePreview(generatePreview bool) *AwaitPromiseParams
func AwaitPromiseParams.WithReturnByValue(returnByValue bool) *AwaitPromiseParams
AwaitPromiseReturns return values.
// Exception details if stack strace is available.
// Promise result. Will contain rejected value if promise was rejected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
AwaitPromiseReturns : github.com/goccy/go-json.Marshaler
*AwaitPromiseReturns : github.com/goccy/go-json.Unmarshaler
AwaitPromiseReturns : github.com/mailru/easyjson.Marshaler
*AwaitPromiseReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*AwaitPromiseReturns : github.com/mailru/easyjson.Unmarshaler
AwaitPromiseReturns : encoding/json.Marshaler
*AwaitPromiseReturns : encoding/json.Unmarshaler
CallArgument represents function call argument. Either remote object id
objectId, primitive value, unserializable primitive value or neither of (for
undefined) them should be specified.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-CallArgument
// Remote object handle.
// Primitive value which can not be JSON-stringified.
// Primitive value or serializable javascript object.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CallArgument : github.com/goccy/go-json.Marshaler
*CallArgument : github.com/goccy/go-json.Unmarshaler
CallArgument : github.com/mailru/easyjson.Marshaler
*CallArgument : github.com/mailru/easyjson.MarshalerUnmarshaler
*CallArgument : github.com/mailru/easyjson.Unmarshaler
CallArgument : encoding/json.Marshaler
*CallArgument : encoding/json.Unmarshaler
func CallFunctionOnParams.WithArguments(arguments []*CallArgument) *CallFunctionOnParams
func github.com/chromedp/cdproto/debugger.SetReturnValue(newValue *CallArgument) *debugger.SetReturnValueParams
func github.com/chromedp/cdproto/debugger.SetVariableValue(scopeNumber int64, variableName string, newValue *CallArgument, callFrameID debugger.CallFrameID) *debugger.SetVariableValueParams
CallFrame stack entry for runtime errors and assertions.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-CallFrame
// JavaScript script column number (0-based).
// JavaScript function name.
// JavaScript script line number (0-based).
// JavaScript script id.
// JavaScript script name or url.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CallFrame : github.com/goccy/go-json.Marshaler
*CallFrame : github.com/goccy/go-json.Unmarshaler
CallFrame : github.com/mailru/easyjson.Marshaler
*CallFrame : github.com/mailru/easyjson.MarshalerUnmarshaler
*CallFrame : github.com/mailru/easyjson.Unmarshaler
CallFrame : encoding/json.Marshaler
*CallFrame : encoding/json.Unmarshaler
CallFunctionOnParams calls function with given declaration on the given
object. Object group of the result is inherited from the target object.
// Call arguments. All call arguments must belong to the same JavaScript world as the target object.
// Whether execution should await for resulting value and return once awaited promise is resolved.
// Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
// Declaration of the function to call.
// Whether preview should be generated for the result.
// Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
// Identifier of the object to call function on. Either objectId or executionContextId should be specified.
// Whether the result is expected to be a JSON object which should be sent by value. Can be overridden by serializationOptions.
// Specifies the result serialization. If provided, overrides generatePreview and returnByValue.
// In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
// Whether to throw an exception if side effect cannot be ruled out during evaluation.
// An alternative way to specify the execution context to call function on. Compared to contextId that may be reused across processes, this is guaranteed to be system-unique, so it can be used to prevent accidental function call in context different than intended (e.g. as a result of navigation across process boundaries). This is mutually exclusive with executionContextId.
// Whether execution should be treated as initiated by user in the UI.
Do executes Runtime.callFunctionOn against the provided context.
returns:
result - Call result.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithArguments call arguments. All call arguments must belong to the same
JavaScript world as the target object.
WithAwaitPromise whether execution should await for resulting value and
return once awaited promise is resolved.
WithExecutionContextID specifies execution context which global object
will be used to call function on. Either executionContextId or objectId
should be specified.
WithGeneratePreview whether preview should be generated for the result.
WithObjectGroup symbolic group name that can be used to release multiple
objects. If objectGroup is not specified and objectId is, objectGroup will be
inherited from object.
WithObjectID identifier of the object to call function on. Either objectId
or executionContextId should be specified.
WithReturnByValue whether the result is expected to be a JSON object which
should be sent by value. Can be overridden by serializationOptions.
WithSerializationOptions specifies the result serialization. If provided,
overrides generatePreview and returnByValue.
WithSilent in silent mode exceptions thrown during evaluation are not
reported and do not pause execution. Overrides setPauseOnException state.
WithThrowOnSideEffect whether to throw an exception if side effect cannot
be ruled out during evaluation.
WithUniqueContextID an alternative way to specify the execution context to
call function on. Compared to contextId that may be reused across processes,
this is guaranteed to be system-unique, so it can be used to prevent
accidental function call in context different than intended (e.g. as a result
of navigation across process boundaries). This is mutually exclusive with
executionContextId.
WithUserGesture whether execution should be treated as initiated by user
in the UI.
CallFunctionOnParams : github.com/goccy/go-json.Marshaler
*CallFunctionOnParams : github.com/goccy/go-json.Unmarshaler
CallFunctionOnParams : github.com/mailru/easyjson.Marshaler
*CallFunctionOnParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CallFunctionOnParams : github.com/mailru/easyjson.Unmarshaler
CallFunctionOnParams : encoding/json.Marshaler
*CallFunctionOnParams : encoding/json.Unmarshaler
func CallFunctionOn(functionDeclaration string) *CallFunctionOnParams
func CallFunctionOnParams.WithArguments(arguments []*CallArgument) *CallFunctionOnParams
func CallFunctionOnParams.WithAwaitPromise(awaitPromise bool) *CallFunctionOnParams
func CallFunctionOnParams.WithExecutionContextID(executionContextID ExecutionContextID) *CallFunctionOnParams
func CallFunctionOnParams.WithGeneratePreview(generatePreview bool) *CallFunctionOnParams
func CallFunctionOnParams.WithObjectGroup(objectGroup string) *CallFunctionOnParams
func CallFunctionOnParams.WithObjectID(objectID RemoteObjectID) *CallFunctionOnParams
func CallFunctionOnParams.WithReturnByValue(returnByValue bool) *CallFunctionOnParams
func CallFunctionOnParams.WithSerializationOptions(serializationOptions *SerializationOptions) *CallFunctionOnParams
func CallFunctionOnParams.WithSilent(silent bool) *CallFunctionOnParams
func CallFunctionOnParams.WithThrowOnSideEffect(throwOnSideEffect bool) *CallFunctionOnParams
func CallFunctionOnParams.WithUniqueContextID(uniqueContextID string) *CallFunctionOnParams
func CallFunctionOnParams.WithUserGesture(userGesture bool) *CallFunctionOnParams
CallFunctionOnReturns return values.
// Exception details if stack strace is available.
// Promise result. Will contain rejected value if promise was rejected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CallFunctionOnReturns : github.com/goccy/go-json.Marshaler
*CallFunctionOnReturns : github.com/goccy/go-json.Unmarshaler
CallFunctionOnReturns : github.com/mailru/easyjson.Marshaler
*CallFunctionOnReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CallFunctionOnReturns : github.com/mailru/easyjson.Unmarshaler
CallFunctionOnReturns : encoding/json.Marshaler
*CallFunctionOnReturns : encoding/json.Unmarshaler
CompileScriptParams compiles expression.
// Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
// Expression to compile.
// Specifies whether the compiled script should be persisted.
// Source url to be set for the script.
Do executes Runtime.compileScript against the provided context.
returns:
scriptID - Id of the script.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithExecutionContextID specifies in which execution context to perform
script run. If the parameter is omitted the evaluation will be performed in
the context of the inspected page.
CompileScriptParams : github.com/goccy/go-json.Marshaler
*CompileScriptParams : github.com/goccy/go-json.Unmarshaler
CompileScriptParams : github.com/mailru/easyjson.Marshaler
*CompileScriptParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CompileScriptParams : github.com/mailru/easyjson.Unmarshaler
CompileScriptParams : encoding/json.Marshaler
*CompileScriptParams : encoding/json.Unmarshaler
func CompileScript(expression string, sourceURL string, persistScript bool) *CompileScriptParams
func CompileScriptParams.WithExecutionContextID(executionContextID ExecutionContextID) *CompileScriptParams
CompileScriptReturns return values.
// Exception details.
// Id of the script.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CompileScriptReturns : github.com/goccy/go-json.Marshaler
*CompileScriptReturns : github.com/goccy/go-json.Unmarshaler
CompileScriptReturns : github.com/mailru/easyjson.Marshaler
*CompileScriptReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CompileScriptReturns : github.com/mailru/easyjson.Unmarshaler
CompileScriptReturns : encoding/json.Marshaler
*CompileScriptReturns : encoding/json.Unmarshaler
CustomPreview [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-CustomPreview
// If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.
// The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CustomPreview : github.com/goccy/go-json.Marshaler
*CustomPreview : github.com/goccy/go-json.Unmarshaler
CustomPreview : github.com/mailru/easyjson.Marshaler
*CustomPreview : github.com/mailru/easyjson.MarshalerUnmarshaler
*CustomPreview : github.com/mailru/easyjson.Unmarshaler
CustomPreview : encoding/json.Marshaler
*CustomPreview : encoding/json.Unmarshaler
DeepSerializedValue represents deep serialized value.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-DeepSerializedValue
ObjectID string
Type DeepSerializedValueType
Value easyjson.RawMessage
// Set if value reference met more then once during serialization. In such case, value is provided only to one of the serialized values. Unique per value in the scope of one CDP call.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
DeepSerializedValue : github.com/goccy/go-json.Marshaler
*DeepSerializedValue : github.com/goccy/go-json.Unmarshaler
DeepSerializedValue : github.com/mailru/easyjson.Marshaler
*DeepSerializedValue : github.com/mailru/easyjson.MarshalerUnmarshaler
*DeepSerializedValue : github.com/mailru/easyjson.Unmarshaler
DeepSerializedValue : encoding/json.Marshaler
*DeepSerializedValue : encoding/json.Unmarshaler
DeepSerializedValueType [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-DeepSerializedValue
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the DeepSerializedValueType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
DeepSerializedValueType : github.com/goccy/go-json.Marshaler
*DeepSerializedValueType : github.com/goccy/go-json.Unmarshaler
DeepSerializedValueType : github.com/mailru/easyjson.Marshaler
*DeepSerializedValueType : github.com/mailru/easyjson.MarshalerUnmarshaler
*DeepSerializedValueType : github.com/mailru/easyjson.Unmarshaler
DeepSerializedValueType : encoding/json.Marshaler
*DeepSerializedValueType : encoding/json.Unmarshaler
DeepSerializedValueType : expvar.Var
DeepSerializedValueType : fmt.Stringer
const DeepSerializedValueTypeArray
const DeepSerializedValueTypeArraybuffer
const DeepSerializedValueTypeBigint
const DeepSerializedValueTypeBoolean
const DeepSerializedValueTypeDate
const DeepSerializedValueTypeError
const DeepSerializedValueTypeFunction
const DeepSerializedValueTypeGenerator
const DeepSerializedValueTypeMap
const DeepSerializedValueTypeNode
const DeepSerializedValueTypeNull
const DeepSerializedValueTypeNumber
const DeepSerializedValueTypeObject
const DeepSerializedValueTypePromise
const DeepSerializedValueTypeProxy
const DeepSerializedValueTypeRegexp
const DeepSerializedValueTypeSet
const DeepSerializedValueTypeString
const DeepSerializedValueTypeSymbol
const DeepSerializedValueTypeTypedarray
const DeepSerializedValueTypeUndefined
const DeepSerializedValueTypeWeakmap
const DeepSerializedValueTypeWeakset
const DeepSerializedValueTypeWindow
DisableParams disables reporting of execution contexts creation.
Do executes Runtime.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
DiscardConsoleEntriesParams discards collected exceptions and console API
calls.
Do executes Runtime.discardConsoleEntries against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.Action
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.CallAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.EmulateAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.EvaluateAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.KeyAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.MouseAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.NavigateAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.PollAction
*DiscardConsoleEntriesParams : github.com/chromedp/chromedp.QueryAction
DiscardConsoleEntriesParams : github.com/goccy/go-json.Marshaler
*DiscardConsoleEntriesParams : github.com/goccy/go-json.Unmarshaler
DiscardConsoleEntriesParams : github.com/mailru/easyjson.Marshaler
*DiscardConsoleEntriesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DiscardConsoleEntriesParams : github.com/mailru/easyjson.Unmarshaler
DiscardConsoleEntriesParams : encoding/json.Marshaler
*DiscardConsoleEntriesParams : encoding/json.Unmarshaler
func DiscardConsoleEntries() *DiscardConsoleEntriesParams
EnableParams 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.
Do executes Runtime.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
EntryPreview [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-EntryPreview
// Preview of the key. Specified for map-like collection entries.
// Preview of the value.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EntryPreview : github.com/goccy/go-json.Marshaler
*EntryPreview : github.com/goccy/go-json.Unmarshaler
EntryPreview : github.com/mailru/easyjson.Marshaler
*EntryPreview : github.com/mailru/easyjson.MarshalerUnmarshaler
*EntryPreview : github.com/mailru/easyjson.Unmarshaler
EntryPreview : encoding/json.Marshaler
*EntryPreview : encoding/json.Unmarshaler
EvaluateParams evaluates expression on global object.
// The Content Security Policy (CSP) for the target might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval() when called with non-callable arguments. This flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to true.
// Whether execution should await for resulting value and return once awaited promise is resolved.
// Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. This is mutually exclusive with uniqueContextId, which offers an alternative way to identify the execution context that is more reliable in a multi-process environment.
// Disable breakpoints during execution.
// Expression to evaluate.
// Whether preview should be generated for the result.
// Determines whether Command Line API should be available during the evaluation.
// Symbolic group name that can be used to release multiple objects.
// Setting this flag to true enables let re-declaration and top-level await. Note that let variables can only be re-declared if they originate from replMode themselves.
// Whether the result is expected to be a JSON object that should be sent by value.
// Specifies the result serialization. If provided, overrides generatePreview and returnByValue.
// In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
// Whether to throw an exception if side effect cannot be ruled out during evaluation. This implies disableBreaks below.
// Terminate execution after timing out (number of milliseconds).
// An alternative way to specify the execution context to evaluate in. Compared to contextId that may be reused across processes, this is guaranteed to be system-unique, so it can be used to prevent accidental evaluation of the expression in context different than intended (e.g. as a result of navigation across process boundaries). This is mutually exclusive with contextId.
// Whether execution should be treated as initiated by user in the UI.
Do executes Runtime.evaluate against the provided context.
returns:
result - Evaluation result.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithAllowUnsafeEvalBlockedByCSP the Content Security Policy (CSP) for the
target might block 'unsafe-eval' which includes eval(), Function(),
setTimeout() and setInterval() when called with non-callable arguments. This
flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to
true.
WithAwaitPromise whether execution should await for resulting value and
return once awaited promise is resolved.
WithContextID specifies in which execution context to perform evaluation.
If the parameter is omitted the evaluation will be performed in the context
of the inspected page. This is mutually exclusive with uniqueContextId, which
offers an alternative way to identify the execution context that is more
reliable in a multi-process environment.
WithDisableBreaks disable breakpoints during execution.
WithGeneratePreview whether preview should be generated for the result.
WithIncludeCommandLineAPI determines whether Command Line API should be
available during the evaluation.
WithObjectGroup symbolic group name that can be used to release multiple
objects.
WithReplMode setting this flag to true enables let re-declaration and
top-level await. Note that let variables can only be re-declared if they
originate from replMode themselves.
WithReturnByValue whether the result is expected to be a JSON object that
should be sent by value.
WithSerializationOptions specifies the result serialization. If provided,
overrides generatePreview and returnByValue.
WithSilent in silent mode exceptions thrown during evaluation are not
reported and do not pause execution. Overrides setPauseOnException state.
WithThrowOnSideEffect whether to throw an exception if side effect cannot
be ruled out during evaluation. This implies disableBreaks below.
WithTimeout terminate execution after timing out (number of milliseconds).
WithUniqueContextID an alternative way to specify the execution context to
evaluate in. Compared to contextId that may be reused across processes, this
is guaranteed to be system-unique, so it can be used to prevent accidental
evaluation of the expression in context different than intended (e.g. as a
result of navigation across process boundaries). This is mutually exclusive
with contextId.
WithUserGesture whether execution should be treated as initiated by user
in the UI.
EvaluateParams : github.com/goccy/go-json.Marshaler
*EvaluateParams : github.com/goccy/go-json.Unmarshaler
EvaluateParams : github.com/mailru/easyjson.Marshaler
*EvaluateParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EvaluateParams : github.com/mailru/easyjson.Unmarshaler
EvaluateParams : encoding/json.Marshaler
*EvaluateParams : encoding/json.Unmarshaler
func Evaluate(expression string) *EvaluateParams
func EvaluateParams.WithAllowUnsafeEvalBlockedByCSP(allowUnsafeEvalBlockedByCSP bool) *EvaluateParams
func EvaluateParams.WithAwaitPromise(awaitPromise bool) *EvaluateParams
func EvaluateParams.WithContextID(contextID ExecutionContextID) *EvaluateParams
func EvaluateParams.WithDisableBreaks(disableBreaks bool) *EvaluateParams
func EvaluateParams.WithGeneratePreview(generatePreview bool) *EvaluateParams
func EvaluateParams.WithIncludeCommandLineAPI(includeCommandLineAPI bool) *EvaluateParams
func EvaluateParams.WithObjectGroup(objectGroup string) *EvaluateParams
func EvaluateParams.WithReplMode(replMode bool) *EvaluateParams
func EvaluateParams.WithReturnByValue(returnByValue bool) *EvaluateParams
func EvaluateParams.WithSerializationOptions(serializationOptions *SerializationOptions) *EvaluateParams
func EvaluateParams.WithSilent(silent bool) *EvaluateParams
func EvaluateParams.WithThrowOnSideEffect(throwOnSideEffect bool) *EvaluateParams
func EvaluateParams.WithTimeout(timeout TimeDelta) *EvaluateParams
func EvaluateParams.WithUniqueContextID(uniqueContextID string) *EvaluateParams
func EvaluateParams.WithUserGesture(userGesture bool) *EvaluateParams
func github.com/chromedp/chromedp.EvalAsValue(p *EvaluateParams) *EvaluateParams
func github.com/chromedp/chromedp.EvalIgnoreExceptions(p *EvaluateParams) *EvaluateParams
func github.com/chromedp/chromedp.EvalWithCommandLineAPI(p *EvaluateParams) *EvaluateParams
func github.com/chromedp/chromedp.EvalAsValue(p *EvaluateParams) *EvaluateParams
func github.com/chromedp/chromedp.EvalIgnoreExceptions(p *EvaluateParams) *EvaluateParams
func github.com/chromedp/chromedp.EvalWithCommandLineAPI(p *EvaluateParams) *EvaluateParams
EvaluateReturns return values.
// Exception details if stack strace is available.
// Promise result. Will contain rejected value if promise was rejected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EvaluateReturns : github.com/goccy/go-json.Marshaler
*EvaluateReturns : github.com/goccy/go-json.Unmarshaler
EvaluateReturns : github.com/mailru/easyjson.Marshaler
*EvaluateReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*EvaluateReturns : github.com/mailru/easyjson.Unmarshaler
EvaluateReturns : encoding/json.Marshaler
*EvaluateReturns : encoding/json.Unmarshaler
EventBindingCalled notification is issued every time when binding is
called.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-bindingCalled
// Identifier of the context where the call was made.
Name string
Payload string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventBindingCalled : github.com/goccy/go-json.Marshaler
*EventBindingCalled : github.com/goccy/go-json.Unmarshaler
EventBindingCalled : github.com/mailru/easyjson.Marshaler
*EventBindingCalled : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventBindingCalled : github.com/mailru/easyjson.Unmarshaler
EventBindingCalled : encoding/json.Marshaler
*EventBindingCalled : encoding/json.Unmarshaler
EventConsoleAPICalled issued when console API was called.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-consoleAPICalled
// Call arguments.
// Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
// Identifier of the context where the call was made.
// Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.
// Call timestamp.
// Type of the call.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventConsoleAPICalled : github.com/goccy/go-json.Marshaler
*EventConsoleAPICalled : github.com/goccy/go-json.Unmarshaler
EventConsoleAPICalled : github.com/mailru/easyjson.Marshaler
*EventConsoleAPICalled : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventConsoleAPICalled : github.com/mailru/easyjson.Unmarshaler
EventConsoleAPICalled : encoding/json.Marshaler
*EventConsoleAPICalled : encoding/json.Unmarshaler
EventExceptionRevoked issued when unhandled exception was revoked.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-exceptionRevoked
// The id of revoked exception, as reported in exceptionThrown.
// Reason describing why exception was revoked.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventExceptionRevoked : github.com/goccy/go-json.Marshaler
*EventExceptionRevoked : github.com/goccy/go-json.Unmarshaler
EventExceptionRevoked : github.com/mailru/easyjson.Marshaler
*EventExceptionRevoked : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventExceptionRevoked : github.com/mailru/easyjson.Unmarshaler
EventExceptionRevoked : encoding/json.Marshaler
*EventExceptionRevoked : encoding/json.Unmarshaler
EventExceptionThrown issued when exception was thrown and unhandled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-exceptionThrown
ExceptionDetails *ExceptionDetails
// Timestamp of the exception.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventExceptionThrown : github.com/goccy/go-json.Marshaler
*EventExceptionThrown : github.com/goccy/go-json.Unmarshaler
EventExceptionThrown : github.com/mailru/easyjson.Marshaler
*EventExceptionThrown : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventExceptionThrown : github.com/mailru/easyjson.Unmarshaler
EventExceptionThrown : encoding/json.Marshaler
*EventExceptionThrown : encoding/json.Unmarshaler
EventExecutionContextCreated issued when new execution context is created.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-executionContextCreated
// A newly created execution context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventExecutionContextCreated : github.com/goccy/go-json.Marshaler
*EventExecutionContextCreated : github.com/goccy/go-json.Unmarshaler
EventExecutionContextCreated : github.com/mailru/easyjson.Marshaler
*EventExecutionContextCreated : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventExecutionContextCreated : github.com/mailru/easyjson.Unmarshaler
EventExecutionContextCreated : encoding/json.Marshaler
*EventExecutionContextCreated : encoding/json.Unmarshaler
EventExecutionContextDestroyed issued when execution context is destroyed.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-executionContextDestroyed
// Id of the destroyed context
// Unique Id of the destroyed context
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventExecutionContextDestroyed : github.com/goccy/go-json.Marshaler
*EventExecutionContextDestroyed : github.com/goccy/go-json.Unmarshaler
EventExecutionContextDestroyed : github.com/mailru/easyjson.Marshaler
*EventExecutionContextDestroyed : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventExecutionContextDestroyed : github.com/mailru/easyjson.Unmarshaler
EventExecutionContextDestroyed : encoding/json.Marshaler
*EventExecutionContextDestroyed : encoding/json.Unmarshaler
EventExecutionContextsCleared issued when all executionContexts were
cleared in browser.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-executionContextsCleared
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventExecutionContextsCleared : github.com/goccy/go-json.Marshaler
*EventExecutionContextsCleared : github.com/goccy/go-json.Unmarshaler
EventExecutionContextsCleared : github.com/mailru/easyjson.Marshaler
*EventExecutionContextsCleared : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventExecutionContextsCleared : github.com/mailru/easyjson.Unmarshaler
EventExecutionContextsCleared : encoding/json.Marshaler
*EventExecutionContextsCleared : encoding/json.Unmarshaler
EventInspectRequested issued when object should be inspected (for example,
as a result of inspect() command line API call).
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#event-inspectRequested
// Identifier of the context where the call was made.
Hints easyjson.RawMessage
Object *RemoteObject
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventInspectRequested : github.com/goccy/go-json.Marshaler
*EventInspectRequested : github.com/goccy/go-json.Unmarshaler
EventInspectRequested : github.com/mailru/easyjson.Marshaler
*EventInspectRequested : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventInspectRequested : github.com/mailru/easyjson.Unmarshaler
EventInspectRequested : encoding/json.Marshaler
*EventInspectRequested : encoding/json.Unmarshaler
ExceptionDetails detailed information about exception (or error) that was
thrown during script compilation or execution.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-ExceptionDetails
// Column number of the exception location (0-based).
// Exception object if available.
// Exception id.
ExceptionMetaData easyjson.RawMessage
// Identifier of the context where exception happened.
// Line number of the exception location (0-based).
// Script ID of the exception location.
// JavaScript stack trace if available.
// Exception text, which should be used together with exception object when available.
// URL of the exception location, to be used when the script was not reported.
Error satisfies the error interface.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ExceptionDetails : github.com/goccy/go-json.Marshaler
*ExceptionDetails : github.com/goccy/go-json.Unmarshaler
ExceptionDetails : github.com/mailru/easyjson.Marshaler
*ExceptionDetails : github.com/mailru/easyjson.MarshalerUnmarshaler
*ExceptionDetails : github.com/mailru/easyjson.Unmarshaler
*ExceptionDetails : error
ExceptionDetails : encoding/json.Marshaler
*ExceptionDetails : encoding/json.Unmarshaler
func (*AwaitPromiseParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*CallFunctionOnParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*CompileScriptParams).Do(ctx context.Context) (scriptID ScriptID, exceptionDetails *ExceptionDetails, err error)
func (*EvaluateParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*GetExceptionDetailsParams).Do(ctx context.Context) (exceptionDetails *ExceptionDetails, err error)
func (*GetPropertiesParams).Do(ctx context.Context) (result []*PropertyDescriptor, internalProperties []*InternalPropertyDescriptor, privateProperties []*PrivatePropertyDescriptor, exceptionDetails *ExceptionDetails, err error)
func (*RunScriptParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func github.com/chromedp/cdproto/debugger.(*EvaluateOnCallFrameParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func github.com/chromedp/cdproto/debugger.(*SetScriptSourceParams).Do(ctx context.Context) (status debugger.SetScriptSourceStatus, exceptionDetails *ExceptionDetails, err error)
ExecutionContextDescription description of an isolated world.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-ExecutionContextDescription
AuxData easyjson.RawMessage
// Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
// Human readable name describing given context.
// Execution context origin.
// A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ExecutionContextDescription : github.com/goccy/go-json.Marshaler
*ExecutionContextDescription : github.com/goccy/go-json.Unmarshaler
ExecutionContextDescription : github.com/mailru/easyjson.Marshaler
*ExecutionContextDescription : github.com/mailru/easyjson.MarshalerUnmarshaler
*ExecutionContextDescription : github.com/mailru/easyjson.Unmarshaler
ExecutionContextDescription : encoding/json.Marshaler
*ExecutionContextDescription : encoding/json.Unmarshaler
ExecutionContextID ID of an execution context.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-ExecutionContextId
Int64 returns the ExecutionContextID as int64 value.
func github.com/chromedp/cdproto/page.(*CreateIsolatedWorldParams).Do(ctx context.Context) (executionContextID ExecutionContextID, err error)
func CallFunctionOnParams.WithExecutionContextID(executionContextID ExecutionContextID) *CallFunctionOnParams
func CompileScriptParams.WithExecutionContextID(executionContextID ExecutionContextID) *CompileScriptParams
func EvaluateParams.WithContextID(contextID ExecutionContextID) *EvaluateParams
func GlobalLexicalScopeNamesParams.WithExecutionContextID(executionContextID ExecutionContextID) *GlobalLexicalScopeNamesParams
func RunScriptParams.WithExecutionContextID(executionContextID ExecutionContextID) *RunScriptParams
func github.com/chromedp/cdproto/dom.ResolveNodeParams.WithExecutionContextID(executionContextID ExecutionContextID) *dom.ResolveNodeParams
GetExceptionDetailsParams 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.
// The error object for which to resolve the exception details.
Do executes Runtime.getExceptionDetails against the provided context.
returns:
exceptionDetails
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetExceptionDetailsParams : github.com/goccy/go-json.Marshaler
*GetExceptionDetailsParams : github.com/goccy/go-json.Unmarshaler
GetExceptionDetailsParams : github.com/mailru/easyjson.Marshaler
*GetExceptionDetailsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetExceptionDetailsParams : github.com/mailru/easyjson.Unmarshaler
GetExceptionDetailsParams : encoding/json.Marshaler
*GetExceptionDetailsParams : encoding/json.Unmarshaler
func GetExceptionDetails(errorObjectID RemoteObjectID) *GetExceptionDetailsParams
GetExceptionDetailsReturns return values.
ExceptionDetails *ExceptionDetails
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetExceptionDetailsReturns : github.com/goccy/go-json.Marshaler
*GetExceptionDetailsReturns : github.com/goccy/go-json.Unmarshaler
GetExceptionDetailsReturns : github.com/mailru/easyjson.Marshaler
*GetExceptionDetailsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetExceptionDetailsReturns : github.com/mailru/easyjson.Unmarshaler
GetExceptionDetailsReturns : encoding/json.Marshaler
*GetExceptionDetailsReturns : encoding/json.Unmarshaler
GetHeapUsageParams returns the JavaScript heap usage. It is the total
usage of the corresponding isolate not scoped to a particular Runtime.
Do executes Runtime.getHeapUsage against the provided context.
returns:
usedSize - Used heap size in bytes.
totalSize - Allocated heap size in bytes.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetHeapUsageParams : github.com/goccy/go-json.Marshaler
*GetHeapUsageParams : github.com/goccy/go-json.Unmarshaler
GetHeapUsageParams : github.com/mailru/easyjson.Marshaler
*GetHeapUsageParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetHeapUsageParams : github.com/mailru/easyjson.Unmarshaler
GetHeapUsageParams : encoding/json.Marshaler
*GetHeapUsageParams : encoding/json.Unmarshaler
func GetHeapUsage() *GetHeapUsageParams
GetHeapUsageReturns return values.
// Allocated heap size in bytes.
// Used heap size in bytes.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetHeapUsageReturns : github.com/goccy/go-json.Marshaler
*GetHeapUsageReturns : github.com/goccy/go-json.Unmarshaler
GetHeapUsageReturns : github.com/mailru/easyjson.Marshaler
*GetHeapUsageReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetHeapUsageReturns : github.com/mailru/easyjson.Unmarshaler
GetHeapUsageReturns : encoding/json.Marshaler
*GetHeapUsageReturns : encoding/json.Unmarshaler
GetIsolateIDParams returns the isolate id.
Do executes Runtime.getIsolateId against the provided context.
returns:
id - The isolate id.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetIsolateIDParams : github.com/goccy/go-json.Marshaler
*GetIsolateIDParams : github.com/goccy/go-json.Unmarshaler
GetIsolateIDParams : github.com/mailru/easyjson.Marshaler
*GetIsolateIDParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetIsolateIDParams : github.com/mailru/easyjson.Unmarshaler
GetIsolateIDParams : encoding/json.Marshaler
*GetIsolateIDParams : encoding/json.Unmarshaler
func GetIsolateID() *GetIsolateIDParams
GetIsolateIDReturns return values.
// The isolate id.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetIsolateIDReturns : github.com/goccy/go-json.Marshaler
*GetIsolateIDReturns : github.com/goccy/go-json.Unmarshaler
GetIsolateIDReturns : github.com/mailru/easyjson.Marshaler
*GetIsolateIDReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetIsolateIDReturns : github.com/mailru/easyjson.Unmarshaler
GetIsolateIDReturns : encoding/json.Marshaler
*GetIsolateIDReturns : encoding/json.Unmarshaler
GetPropertiesParams returns properties of a given object. Object group of
the result is inherited from the target object.
// If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
// Whether preview should be generated for the results.
// If true, returns non-indexed properties only.
// Identifier of the object to return properties for.
// If true, returns properties belonging only to the element itself, not to its prototype chain.
Do executes Runtime.getProperties against the provided context.
returns:
result - Object properties.
internalProperties - Internal object properties (only of the element itself).
privateProperties - Object private properties.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithAccessorPropertiesOnly if true, returns accessor properties (with
getter/setter) only; internal properties are not returned either.
WithGeneratePreview whether preview should be generated for the results.
WithNonIndexedPropertiesOnly if true, returns non-indexed properties only.
WithOwnProperties if true, returns properties belonging only to the
element itself, not to its prototype chain.
GetPropertiesParams : github.com/goccy/go-json.Marshaler
*GetPropertiesParams : github.com/goccy/go-json.Unmarshaler
GetPropertiesParams : github.com/mailru/easyjson.Marshaler
*GetPropertiesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPropertiesParams : github.com/mailru/easyjson.Unmarshaler
GetPropertiesParams : encoding/json.Marshaler
*GetPropertiesParams : encoding/json.Unmarshaler
func GetProperties(objectID RemoteObjectID) *GetPropertiesParams
func GetPropertiesParams.WithAccessorPropertiesOnly(accessorPropertiesOnly bool) *GetPropertiesParams
func GetPropertiesParams.WithGeneratePreview(generatePreview bool) *GetPropertiesParams
func GetPropertiesParams.WithNonIndexedPropertiesOnly(nonIndexedPropertiesOnly bool) *GetPropertiesParams
func GetPropertiesParams.WithOwnProperties(ownProperties bool) *GetPropertiesParams
GetPropertiesReturns return values.
// Exception details.
// Internal object properties (only of the element itself).
// Object private properties.
// Object properties.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetPropertiesReturns : github.com/goccy/go-json.Marshaler
*GetPropertiesReturns : github.com/goccy/go-json.Unmarshaler
GetPropertiesReturns : github.com/mailru/easyjson.Marshaler
*GetPropertiesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPropertiesReturns : github.com/mailru/easyjson.Unmarshaler
GetPropertiesReturns : encoding/json.Marshaler
*GetPropertiesReturns : encoding/json.Unmarshaler
GlobalLexicalScopeNamesParams returns all let, const and class variables
from global scope.
// Specifies in which execution context to lookup global scope variables.
Do executes Runtime.globalLexicalScopeNames against the provided context.
returns:
names
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithExecutionContextID specifies in which execution context to lookup
global scope variables.
GlobalLexicalScopeNamesParams : github.com/goccy/go-json.Marshaler
*GlobalLexicalScopeNamesParams : github.com/goccy/go-json.Unmarshaler
GlobalLexicalScopeNamesParams : github.com/mailru/easyjson.Marshaler
*GlobalLexicalScopeNamesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GlobalLexicalScopeNamesParams : github.com/mailru/easyjson.Unmarshaler
GlobalLexicalScopeNamesParams : encoding/json.Marshaler
*GlobalLexicalScopeNamesParams : encoding/json.Unmarshaler
func GlobalLexicalScopeNames() *GlobalLexicalScopeNamesParams
func GlobalLexicalScopeNamesParams.WithExecutionContextID(executionContextID ExecutionContextID) *GlobalLexicalScopeNamesParams
GlobalLexicalScopeNamesReturns return values.
Names []string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GlobalLexicalScopeNamesReturns : github.com/goccy/go-json.Marshaler
*GlobalLexicalScopeNamesReturns : github.com/goccy/go-json.Unmarshaler
GlobalLexicalScopeNamesReturns : github.com/mailru/easyjson.Marshaler
*GlobalLexicalScopeNamesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GlobalLexicalScopeNamesReturns : github.com/mailru/easyjson.Unmarshaler
GlobalLexicalScopeNamesReturns : encoding/json.Marshaler
*GlobalLexicalScopeNamesReturns : encoding/json.Unmarshaler
InternalPropertyDescriptor object internal property descriptor. This
property isn't normally visible in JavaScript code.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-InternalPropertyDescriptor
// Conventional property name.
// The value associated with the property.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
InternalPropertyDescriptor : github.com/goccy/go-json.Marshaler
*InternalPropertyDescriptor : github.com/goccy/go-json.Unmarshaler
InternalPropertyDescriptor : github.com/mailru/easyjson.Marshaler
*InternalPropertyDescriptor : github.com/mailru/easyjson.MarshalerUnmarshaler
*InternalPropertyDescriptor : github.com/mailru/easyjson.Unmarshaler
InternalPropertyDescriptor : encoding/json.Marshaler
*InternalPropertyDescriptor : encoding/json.Unmarshaler
func (*GetPropertiesParams).Do(ctx context.Context) (result []*PropertyDescriptor, internalProperties []*InternalPropertyDescriptor, privateProperties []*PrivatePropertyDescriptor, exceptionDetails *ExceptionDetails, err error)
ObjectPreview object containing abbreviated remote object value.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-ObjectPreview
// String representation of the object.
// List of the entries. Specified for map and set subtype values only.
// True iff some of the properties or entries of the original object did not fit.
// List of the properties.
// Object subtype hint. Specified for object type values only.
// Object type.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ObjectPreview : github.com/goccy/go-json.Marshaler
*ObjectPreview : github.com/goccy/go-json.Unmarshaler
ObjectPreview : github.com/mailru/easyjson.Marshaler
*ObjectPreview : github.com/mailru/easyjson.MarshalerUnmarshaler
*ObjectPreview : github.com/mailru/easyjson.Unmarshaler
ObjectPreview : encoding/json.Marshaler
*ObjectPreview : encoding/json.Unmarshaler
PrivatePropertyDescriptor object private field descriptor.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-PrivatePropertyDescriptor
// A function which serves as a getter for the private property, or undefined if there is no getter (accessor descriptors only).
// Private property name.
// A function which serves as a setter for the private property, or undefined if there is no setter (accessor descriptors only).
// The value associated with the private property.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PrivatePropertyDescriptor : github.com/goccy/go-json.Marshaler
*PrivatePropertyDescriptor : github.com/goccy/go-json.Unmarshaler
PrivatePropertyDescriptor : github.com/mailru/easyjson.Marshaler
*PrivatePropertyDescriptor : github.com/mailru/easyjson.MarshalerUnmarshaler
*PrivatePropertyDescriptor : github.com/mailru/easyjson.Unmarshaler
PrivatePropertyDescriptor : encoding/json.Marshaler
*PrivatePropertyDescriptor : encoding/json.Unmarshaler
func (*GetPropertiesParams).Do(ctx context.Context) (result []*PropertyDescriptor, internalProperties []*InternalPropertyDescriptor, privateProperties []*PrivatePropertyDescriptor, exceptionDetails *ExceptionDetails, err error)
PropertyDescriptor object property descriptor.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-PropertyDescriptor
// True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
// True if this property shows up during enumeration of the properties on the corresponding object.
// A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).
// True if the property is owned for the object.
// Property name or symbol description.
// A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).
// Property symbol object, if the property is of the symbol type.
// The value associated with the property.
// True if the result was thrown during the evaluation.
// True if the value associated with the property may be changed (data descriptors only).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PropertyDescriptor : github.com/goccy/go-json.Marshaler
*PropertyDescriptor : github.com/goccy/go-json.Unmarshaler
PropertyDescriptor : github.com/mailru/easyjson.Marshaler
*PropertyDescriptor : github.com/mailru/easyjson.MarshalerUnmarshaler
*PropertyDescriptor : github.com/mailru/easyjson.Unmarshaler
PropertyDescriptor : encoding/json.Marshaler
*PropertyDescriptor : encoding/json.Unmarshaler
func (*GetPropertiesParams).Do(ctx context.Context) (result []*PropertyDescriptor, internalProperties []*InternalPropertyDescriptor, privateProperties []*PrivatePropertyDescriptor, exceptionDetails *ExceptionDetails, err error)
PropertyPreview [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-PropertyPreview
// Property name.
// Object subtype hint. Specified for object type values only.
// Object type. Accessor means that the property itself is an accessor property.
// User-friendly property value string.
// Nested value preview.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PropertyPreview : github.com/goccy/go-json.Marshaler
*PropertyPreview : github.com/goccy/go-json.Unmarshaler
PropertyPreview : github.com/mailru/easyjson.Marshaler
*PropertyPreview : github.com/mailru/easyjson.MarshalerUnmarshaler
*PropertyPreview : github.com/mailru/easyjson.Unmarshaler
PropertyPreview : encoding/json.Marshaler
*PropertyPreview : encoding/json.Unmarshaler
QueryObjectsParams [no description].
// Symbolic group name that can be used to release the results.
// Identifier of the prototype to return objects for.
Do executes Runtime.queryObjects against the provided context.
returns:
objects - Array with objects.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithObjectGroup symbolic group name that can be used to release the
results.
QueryObjectsParams : github.com/goccy/go-json.Marshaler
*QueryObjectsParams : github.com/goccy/go-json.Unmarshaler
QueryObjectsParams : github.com/mailru/easyjson.Marshaler
*QueryObjectsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*QueryObjectsParams : github.com/mailru/easyjson.Unmarshaler
QueryObjectsParams : encoding/json.Marshaler
*QueryObjectsParams : encoding/json.Unmarshaler
func QueryObjects(prototypeObjectID RemoteObjectID) *QueryObjectsParams
func QueryObjectsParams.WithObjectGroup(objectGroup string) *QueryObjectsParams
QueryObjectsReturns return values.
// Array with objects.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
QueryObjectsReturns : github.com/goccy/go-json.Marshaler
*QueryObjectsReturns : github.com/goccy/go-json.Unmarshaler
QueryObjectsReturns : github.com/mailru/easyjson.Marshaler
*QueryObjectsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*QueryObjectsReturns : github.com/mailru/easyjson.Unmarshaler
QueryObjectsReturns : encoding/json.Marshaler
*QueryObjectsReturns : encoding/json.Unmarshaler
ReleaseObjectGroupParams releases all remote objects that belong to a
given group.
// Symbolic object group name.
Do executes Runtime.releaseObjectGroup against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.Action
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.CallAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.EmulateAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.EvaluateAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.KeyAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.MouseAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.NavigateAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.PollAction
*ReleaseObjectGroupParams : github.com/chromedp/chromedp.QueryAction
ReleaseObjectGroupParams : github.com/goccy/go-json.Marshaler
*ReleaseObjectGroupParams : github.com/goccy/go-json.Unmarshaler
ReleaseObjectGroupParams : github.com/mailru/easyjson.Marshaler
*ReleaseObjectGroupParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReleaseObjectGroupParams : github.com/mailru/easyjson.Unmarshaler
ReleaseObjectGroupParams : encoding/json.Marshaler
*ReleaseObjectGroupParams : encoding/json.Unmarshaler
func ReleaseObjectGroup(objectGroup string) *ReleaseObjectGroupParams
ReleaseObjectParams releases remote object with given id.
// Identifier of the object to release.
Do executes Runtime.releaseObject against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ReleaseObjectParams : github.com/chromedp/chromedp.Action
*ReleaseObjectParams : github.com/chromedp/chromedp.CallAction
*ReleaseObjectParams : github.com/chromedp/chromedp.EmulateAction
*ReleaseObjectParams : github.com/chromedp/chromedp.EvaluateAction
*ReleaseObjectParams : github.com/chromedp/chromedp.KeyAction
*ReleaseObjectParams : github.com/chromedp/chromedp.MouseAction
*ReleaseObjectParams : github.com/chromedp/chromedp.NavigateAction
*ReleaseObjectParams : github.com/chromedp/chromedp.PollAction
*ReleaseObjectParams : github.com/chromedp/chromedp.QueryAction
ReleaseObjectParams : github.com/goccy/go-json.Marshaler
*ReleaseObjectParams : github.com/goccy/go-json.Unmarshaler
ReleaseObjectParams : github.com/mailru/easyjson.Marshaler
*ReleaseObjectParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReleaseObjectParams : github.com/mailru/easyjson.Unmarshaler
ReleaseObjectParams : encoding/json.Marshaler
*ReleaseObjectParams : encoding/json.Unmarshaler
func ReleaseObject(objectID RemoteObjectID) *ReleaseObjectParams
RemoteObject mirror object referencing original JavaScript object.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-RemoteObject
// Object class (constructor) name. Specified for object type values only.
CustomPreview *CustomPreview
// Deep serialized value.
// String representation of the object.
// Unique object identifier (for non-primitive values).
// Preview containing abbreviated property values. Specified for object type values only.
// Object subtype hint. Specified for object type values only. NOTE: If you change anything here, make sure to also update subtype in ObjectPreview and PropertyPreview below.
// Object type.
// Primitive value which can not be JSON-stringified does not have value, but gets this property.
// Remote object value in case of primitive values or JSON values (if it was requested).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RemoteObject : github.com/goccy/go-json.Marshaler
*RemoteObject : github.com/goccy/go-json.Unmarshaler
RemoteObject : github.com/mailru/easyjson.Marshaler
*RemoteObject : github.com/mailru/easyjson.MarshalerUnmarshaler
*RemoteObject : github.com/mailru/easyjson.Unmarshaler
RemoteObject : encoding/json.Marshaler
*RemoteObject : encoding/json.Unmarshaler
func (*AwaitPromiseParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*CallFunctionOnParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*EvaluateParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func (*QueryObjectsParams).Do(ctx context.Context) (objects *RemoteObject, err error)
func (*RunScriptParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func github.com/chromedp/cdproto/animation.(*ResolveAnimationParams).Do(ctx context.Context) (remoteObject *RemoteObject, err error)
func github.com/chromedp/cdproto/debugger.(*EvaluateOnCallFrameParams).Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error)
func github.com/chromedp/cdproto/dom.(*ResolveNodeParams).Do(ctx context.Context) (object *RemoteObject, err error)
func github.com/chromedp/cdproto/heapprofiler.(*GetObjectByHeapObjectIDParams).Do(ctx context.Context) (result *RemoteObject, err error)
RemoteObjectID unique object identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-RemoteObjectId
String returns the RemoteObjectID as string value.
RemoteObjectID : expvar.Var
RemoteObjectID : fmt.Stringer
func AwaitPromise(promiseObjectID RemoteObjectID) *AwaitPromiseParams
func GetExceptionDetails(errorObjectID RemoteObjectID) *GetExceptionDetailsParams
func GetProperties(objectID RemoteObjectID) *GetPropertiesParams
func QueryObjects(prototypeObjectID RemoteObjectID) *QueryObjectsParams
func ReleaseObject(objectID RemoteObjectID) *ReleaseObjectParams
func CallFunctionOnParams.WithObjectID(objectID RemoteObjectID) *CallFunctionOnParams
func github.com/chromedp/cdproto/accessibility.GetAXNodeAndAncestorsParams.WithObjectID(objectID RemoteObjectID) *accessibility.GetAXNodeAndAncestorsParams
func github.com/chromedp/cdproto/accessibility.GetPartialAXTreeParams.WithObjectID(objectID RemoteObjectID) *accessibility.GetPartialAXTreeParams
func github.com/chromedp/cdproto/accessibility.QueryAXTreeParams.WithObjectID(objectID RemoteObjectID) *accessibility.QueryAXTreeParams
func github.com/chromedp/cdproto/debugger.SetBreakpointOnFunctionCall(objectID RemoteObjectID) *debugger.SetBreakpointOnFunctionCallParams
func github.com/chromedp/cdproto/dom.GetFileInfo(objectID RemoteObjectID) *dom.GetFileInfoParams
func github.com/chromedp/cdproto/dom.RequestNode(objectID RemoteObjectID) *dom.RequestNodeParams
func github.com/chromedp/cdproto/dom.DescribeNodeParams.WithObjectID(objectID RemoteObjectID) *dom.DescribeNodeParams
func github.com/chromedp/cdproto/dom.FocusParams.WithObjectID(objectID RemoteObjectID) *dom.FocusParams
func github.com/chromedp/cdproto/dom.GetBoxModelParams.WithObjectID(objectID RemoteObjectID) *dom.GetBoxModelParams
func github.com/chromedp/cdproto/dom.GetContentQuadsParams.WithObjectID(objectID RemoteObjectID) *dom.GetContentQuadsParams
func github.com/chromedp/cdproto/dom.GetOuterHTMLParams.WithObjectID(objectID RemoteObjectID) *dom.GetOuterHTMLParams
func github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams.WithObjectID(objectID RemoteObjectID) *dom.ScrollIntoViewIfNeededParams
func github.com/chromedp/cdproto/dom.SetFileInputFilesParams.WithObjectID(objectID RemoteObjectID) *dom.SetFileInputFilesParams
func github.com/chromedp/cdproto/domdebugger.GetEventListeners(objectID RemoteObjectID) *domdebugger.GetEventListenersParams
func github.com/chromedp/cdproto/heapprofiler.GetHeapObjectID(objectID RemoteObjectID) *heapprofiler.GetHeapObjectIDParams
func github.com/chromedp/cdproto/io.ResolveBlob(objectID RemoteObjectID) *io.ResolveBlobParams
func github.com/chromedp/cdproto/overlay.HighlightNodeParams.WithObjectID(objectID RemoteObjectID) *overlay.HighlightNodeParams
func github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams.WithObjectID(objectID RemoteObjectID) *overlay.HighlightSourceOrderParams
RemoveBindingParams this method does not remove binding function from
global object but unsubscribes current runtime agent from
Runtime.bindingCalled notifications.
The name of the project column. (Required for creation and update.)
Do executes Runtime.removeBinding against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*RemoveBindingParams : github.com/chromedp/chromedp.Action
*RemoveBindingParams : github.com/chromedp/chromedp.CallAction
*RemoveBindingParams : github.com/chromedp/chromedp.EmulateAction
*RemoveBindingParams : github.com/chromedp/chromedp.EvaluateAction
*RemoveBindingParams : github.com/chromedp/chromedp.KeyAction
*RemoveBindingParams : github.com/chromedp/chromedp.MouseAction
*RemoveBindingParams : github.com/chromedp/chromedp.NavigateAction
*RemoveBindingParams : github.com/chromedp/chromedp.PollAction
*RemoveBindingParams : github.com/chromedp/chromedp.QueryAction
RemoveBindingParams : github.com/goccy/go-json.Marshaler
*RemoveBindingParams : github.com/goccy/go-json.Unmarshaler
RemoveBindingParams : github.com/mailru/easyjson.Marshaler
*RemoveBindingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RemoveBindingParams : github.com/mailru/easyjson.Unmarshaler
RemoveBindingParams : encoding/json.Marshaler
*RemoveBindingParams : encoding/json.Unmarshaler
func RemoveBinding(name string) *RemoveBindingParams
RunIfWaitingForDebuggerParams tells inspected instance to run if it was
waiting for debugger to attach.
Do executes Runtime.runIfWaitingForDebugger against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.Action
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.CallAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.EmulateAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.EvaluateAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.KeyAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.MouseAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.NavigateAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.PollAction
*RunIfWaitingForDebuggerParams : github.com/chromedp/chromedp.QueryAction
RunIfWaitingForDebuggerParams : github.com/goccy/go-json.Marshaler
*RunIfWaitingForDebuggerParams : github.com/goccy/go-json.Unmarshaler
RunIfWaitingForDebuggerParams : github.com/mailru/easyjson.Marshaler
*RunIfWaitingForDebuggerParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RunIfWaitingForDebuggerParams : github.com/mailru/easyjson.Unmarshaler
RunIfWaitingForDebuggerParams : encoding/json.Marshaler
*RunIfWaitingForDebuggerParams : encoding/json.Unmarshaler
func RunIfWaitingForDebugger() *RunIfWaitingForDebuggerParams
RunScriptParams runs script with given id in a given context.
// Whether execution should await for resulting value and return once awaited promise is resolved.
// Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
// Whether preview should be generated for the result.
// Determines whether Command Line API should be available during the evaluation.
// Symbolic group name that can be used to release multiple objects.
// Whether the result is expected to be a JSON object which should be sent by value.
// Id of the script to run.
// In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
Do executes Runtime.runScript against the provided context.
returns:
result - Run result.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithAwaitPromise whether execution should await for resulting value and
return once awaited promise is resolved.
WithExecutionContextID specifies in which execution context to perform
script run. If the parameter is omitted the evaluation will be performed in
the context of the inspected page.
WithGeneratePreview whether preview should be generated for the result.
WithIncludeCommandLineAPI determines whether Command Line API should be
available during the evaluation.
WithObjectGroup symbolic group name that can be used to release multiple
objects.
WithReturnByValue whether the result is expected to be a JSON object which
should be sent by value.
WithSilent in silent mode exceptions thrown during evaluation are not
reported and do not pause execution. Overrides setPauseOnException state.
RunScriptParams : github.com/goccy/go-json.Marshaler
*RunScriptParams : github.com/goccy/go-json.Unmarshaler
RunScriptParams : github.com/mailru/easyjson.Marshaler
*RunScriptParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RunScriptParams : github.com/mailru/easyjson.Unmarshaler
RunScriptParams : encoding/json.Marshaler
*RunScriptParams : encoding/json.Unmarshaler
func RunScript(scriptID ScriptID) *RunScriptParams
func RunScriptParams.WithAwaitPromise(awaitPromise bool) *RunScriptParams
func RunScriptParams.WithExecutionContextID(executionContextID ExecutionContextID) *RunScriptParams
func RunScriptParams.WithGeneratePreview(generatePreview bool) *RunScriptParams
func RunScriptParams.WithIncludeCommandLineAPI(includeCommandLineAPI bool) *RunScriptParams
func RunScriptParams.WithObjectGroup(objectGroup string) *RunScriptParams
func RunScriptParams.WithReturnByValue(returnByValue bool) *RunScriptParams
func RunScriptParams.WithSilent(silent bool) *RunScriptParams
RunScriptReturns return values.
// Exception details if stack strace is available.
// Promise result. Will contain rejected value if promise was rejected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RunScriptReturns : github.com/goccy/go-json.Marshaler
*RunScriptReturns : github.com/goccy/go-json.Unmarshaler
RunScriptReturns : github.com/mailru/easyjson.Marshaler
*RunScriptReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*RunScriptReturns : github.com/mailru/easyjson.Unmarshaler
RunScriptReturns : encoding/json.Marshaler
*RunScriptReturns : encoding/json.Unmarshaler
ScriptID unique script identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-ScriptId
String returns the ScriptID as string value.
ScriptID : expvar.Var
ScriptID : fmt.Stringer
func (*CompileScriptParams).Do(ctx context.Context) (scriptID ScriptID, exceptionDetails *ExceptionDetails, err error)
func RunScript(scriptID ScriptID) *RunScriptParams
func github.com/chromedp/cdproto/debugger.DisassembleWasmModule(scriptID ScriptID) *debugger.DisassembleWasmModuleParams
func github.com/chromedp/cdproto/debugger.GetScriptSource(scriptID ScriptID) *debugger.GetScriptSourceParams
func github.com/chromedp/cdproto/debugger.SearchInContent(scriptID ScriptID, query string) *debugger.SearchInContentParams
func github.com/chromedp/cdproto/debugger.SetBlackboxedRanges(scriptID ScriptID, positions []*debugger.ScriptPosition) *debugger.SetBlackboxedRangesParams
func github.com/chromedp/cdproto/debugger.SetScriptSource(scriptID ScriptID, scriptSource string) *debugger.SetScriptSourceParams
SerializationOptions represents options for serialization. Overrides
generatePreview and returnByValue.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-SerializationOptions
AdditionalParameters easyjson.RawMessage
// Deep serialization depth. Default is full depth. Respected only in deep serialization mode.
Serialization SerializationOptionsSerialization
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SerializationOptions : github.com/goccy/go-json.Marshaler
*SerializationOptions : github.com/goccy/go-json.Unmarshaler
SerializationOptions : github.com/mailru/easyjson.Marshaler
*SerializationOptions : github.com/mailru/easyjson.MarshalerUnmarshaler
*SerializationOptions : github.com/mailru/easyjson.Unmarshaler
SerializationOptions : encoding/json.Marshaler
*SerializationOptions : encoding/json.Unmarshaler
func CallFunctionOnParams.WithSerializationOptions(serializationOptions *SerializationOptions) *CallFunctionOnParams
func EvaluateParams.WithSerializationOptions(serializationOptions *SerializationOptions) *EvaluateParams
SerializationOptionsSerialization [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-SerializationOptions
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SerializationOptionsSerialization as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SerializationOptionsSerialization : github.com/goccy/go-json.Marshaler
*SerializationOptionsSerialization : github.com/goccy/go-json.Unmarshaler
SerializationOptionsSerialization : github.com/mailru/easyjson.Marshaler
*SerializationOptionsSerialization : github.com/mailru/easyjson.MarshalerUnmarshaler
*SerializationOptionsSerialization : github.com/mailru/easyjson.Unmarshaler
SerializationOptionsSerialization : encoding/json.Marshaler
*SerializationOptionsSerialization : encoding/json.Unmarshaler
SerializationOptionsSerialization : expvar.Var
SerializationOptionsSerialization : fmt.Stringer
const SerializationOptionsSerializationDeep
const SerializationOptionsSerializationIDOnly
const SerializationOptionsSerializationJSON
SetCustomObjectFormatterEnabledParams [no description].
Enabled bool
Do executes Runtime.setCustomObjectFormatterEnabled against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.Action
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.CallAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.EmulateAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.EvaluateAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.KeyAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.MouseAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.NavigateAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.PollAction
*SetCustomObjectFormatterEnabledParams : github.com/chromedp/chromedp.QueryAction
SetCustomObjectFormatterEnabledParams : github.com/goccy/go-json.Marshaler
*SetCustomObjectFormatterEnabledParams : github.com/goccy/go-json.Unmarshaler
SetCustomObjectFormatterEnabledParams : github.com/mailru/easyjson.Marshaler
*SetCustomObjectFormatterEnabledParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetCustomObjectFormatterEnabledParams : github.com/mailru/easyjson.Unmarshaler
SetCustomObjectFormatterEnabledParams : encoding/json.Marshaler
*SetCustomObjectFormatterEnabledParams : encoding/json.Unmarshaler
func SetCustomObjectFormatterEnabled(enabled bool) *SetCustomObjectFormatterEnabledParams
SetMaxCallStackSizeToCaptureParams [no description].
Size int64
Do executes Runtime.setMaxCallStackSizeToCapture against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.Action
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.CallAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.EmulateAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.EvaluateAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.KeyAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.MouseAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.NavigateAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.PollAction
*SetMaxCallStackSizeToCaptureParams : github.com/chromedp/chromedp.QueryAction
SetMaxCallStackSizeToCaptureParams : github.com/goccy/go-json.Marshaler
*SetMaxCallStackSizeToCaptureParams : github.com/goccy/go-json.Unmarshaler
SetMaxCallStackSizeToCaptureParams : github.com/mailru/easyjson.Marshaler
*SetMaxCallStackSizeToCaptureParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetMaxCallStackSizeToCaptureParams : github.com/mailru/easyjson.Unmarshaler
SetMaxCallStackSizeToCaptureParams : encoding/json.Marshaler
*SetMaxCallStackSizeToCaptureParams : encoding/json.Unmarshaler
func SetMaxCallStackSizeToCapture(size int64) *SetMaxCallStackSizeToCaptureParams
StackTrace call frames for assertions or error messages.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-StackTrace
// JavaScript function name.
// String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
// Asynchronous JavaScript stack trace that preceded this stack, if available.
// Asynchronous JavaScript stack trace that preceded this stack, if available.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StackTrace : github.com/goccy/go-json.Marshaler
*StackTrace : github.com/goccy/go-json.Unmarshaler
StackTrace : github.com/mailru/easyjson.Marshaler
*StackTrace : github.com/mailru/easyjson.MarshalerUnmarshaler
*StackTrace : github.com/mailru/easyjson.Unmarshaler
StackTrace : encoding/json.Marshaler
*StackTrace : encoding/json.Unmarshaler
func github.com/chromedp/cdproto/debugger.(*GetStackTraceParams).Do(ctx context.Context) (stackTrace *StackTrace, err error)
func github.com/chromedp/cdproto/dom.(*GetNodeStackTracesParams).Do(ctx context.Context) (creation *StackTrace, err error)
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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-StackTraceId
DebuggerID UniqueDebuggerID
ID string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StackTraceID : github.com/goccy/go-json.Marshaler
*StackTraceID : github.com/goccy/go-json.Unmarshaler
StackTraceID : github.com/mailru/easyjson.Marshaler
*StackTraceID : github.com/mailru/easyjson.MarshalerUnmarshaler
*StackTraceID : github.com/mailru/easyjson.Unmarshaler
StackTraceID : encoding/json.Marshaler
*StackTraceID : encoding/json.Unmarshaler
func github.com/chromedp/cdproto/debugger.GetStackTrace(stackTraceID *StackTraceID) *debugger.GetStackTraceParams
Subtype object subtype hint. Specified for object type values only. NOTE:
If you change anything here, make sure to also update subtype in
ObjectPreview and PropertyPreview below.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-RemoteObject
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the Subtype as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
Subtype : github.com/goccy/go-json.Marshaler
*Subtype : github.com/goccy/go-json.Unmarshaler
Subtype : github.com/mailru/easyjson.Marshaler
*Subtype : github.com/mailru/easyjson.MarshalerUnmarshaler
*Subtype : github.com/mailru/easyjson.Unmarshaler
Subtype : encoding/json.Marshaler
*Subtype : encoding/json.Unmarshaler
Subtype : expvar.Var
Subtype : fmt.Stringer
const SubtypeArray
const SubtypeArraybuffer
const SubtypeDataview
const SubtypeDate
const SubtypeError
const SubtypeGenerator
const SubtypeIterator
const SubtypeMap
const SubtypeNode
const SubtypeNull
const SubtypePromise
const SubtypeProxy
const SubtypeRegexp
const SubtypeSet
const SubtypeTypedarray
const SubtypeWasmvalue
const SubtypeWeakmap
const SubtypeWeakset
const SubtypeWebassemblymemory
TerminateExecutionParams terminate current or next JavaScript execution.
Will cancel the termination when the outer-most script execution ends.
Do executes Runtime.terminateExecution against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*TerminateExecutionParams : github.com/chromedp/chromedp.Action
*TerminateExecutionParams : github.com/chromedp/chromedp.CallAction
*TerminateExecutionParams : github.com/chromedp/chromedp.EmulateAction
*TerminateExecutionParams : github.com/chromedp/chromedp.EvaluateAction
*TerminateExecutionParams : github.com/chromedp/chromedp.KeyAction
*TerminateExecutionParams : github.com/chromedp/chromedp.MouseAction
*TerminateExecutionParams : github.com/chromedp/chromedp.NavigateAction
*TerminateExecutionParams : github.com/chromedp/chromedp.PollAction
*TerminateExecutionParams : github.com/chromedp/chromedp.QueryAction
TerminateExecutionParams : github.com/goccy/go-json.Marshaler
*TerminateExecutionParams : github.com/goccy/go-json.Unmarshaler
TerminateExecutionParams : github.com/mailru/easyjson.Marshaler
*TerminateExecutionParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*TerminateExecutionParams : github.com/mailru/easyjson.Unmarshaler
TerminateExecutionParams : encoding/json.Marshaler
*TerminateExecutionParams : encoding/json.Unmarshaler
func TerminateExecution() *TerminateExecutionParams
TimeDelta number of milliseconds.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-TimeDelta
Float64 returns the TimeDelta as float64 value.
func EvaluateParams.WithTimeout(timeout TimeDelta) *EvaluateParams
func github.com/chromedp/cdproto/debugger.EvaluateOnCallFrameParams.WithTimeout(timeout TimeDelta) *debugger.EvaluateOnCallFrameParams
Timestamp number of milliseconds since epoch.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-Timestamp
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
Time returns the Timestamp as time.Time value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
Timestamp : github.com/goccy/go-json.Marshaler
*Timestamp : github.com/goccy/go-json.Unmarshaler
Timestamp : github.com/mailru/easyjson.Marshaler
*Timestamp : github.com/mailru/easyjson.MarshalerUnmarshaler
*Timestamp : github.com/mailru/easyjson.Unmarshaler
Timestamp : encoding/json.Marshaler
*Timestamp : encoding/json.Unmarshaler
Timestamp : golang.org/x/net/internal/timeseries.Clock
Type object type.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-RemoteObject
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the Type as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
Type : github.com/goccy/go-json.Marshaler
*Type : github.com/goccy/go-json.Unmarshaler
Type : github.com/mailru/easyjson.Marshaler
*Type : github.com/mailru/easyjson.MarshalerUnmarshaler
*Type : github.com/mailru/easyjson.Unmarshaler
Type : encoding/json.Marshaler
*Type : encoding/json.Unmarshaler
Type : expvar.Var
Type : fmt.Stringer
const TypeAccessor
const TypeBigint
const TypeBoolean
const TypeFunction
const TypeNumber
const TypeObject
const TypeString
const TypeSymbol
const TypeUndefined
UniqueDebuggerID unique identifier of current debugger.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-UniqueDebuggerId
String returns the UniqueDebuggerID as string value.
UniqueDebuggerID : expvar.Var
UniqueDebuggerID : fmt.Stringer
func github.com/chromedp/cdproto/debugger.(*EnableParams).Do(ctx context.Context) (debuggerID UniqueDebuggerID, err error)
UnserializableValue primitive value which cannot be JSON-stringified.
Includes values -0, NaN, Infinity, -Infinity, and bigint literals.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-UnserializableValue
String returns the UnserializableValue as string value.
UnserializableValue : expvar.Var
UnserializableValue : fmt.Stringer
Package-Level Functions (total 22)
AddBinding 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-addBinding
parameters:
name
AwaitPromise add handler to promise with given promise object id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-awaitPromise
parameters:
promiseObjectID - Identifier of the promise.
CallFunctionOn calls function with given declaration on the given object.
Object group of the result is inherited from the target object.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-callFunctionOn
parameters:
functionDeclaration - Declaration of the function to call.
CompileScript compiles expression.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-compileScript
parameters:
expression - Expression to compile.
sourceURL - Source url to be set for the script.
persistScript - Specifies whether the compiled script should be persisted.
Disable disables reporting of execution contexts creation.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-disable
DiscardConsoleEntries discards collected exceptions and console API calls.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-discardConsoleEntries
Enable 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-enable
Evaluate evaluates expression on global object.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-evaluate
parameters:
expression - Expression to evaluate.
GetExceptionDetails 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-getExceptionDetails
parameters:
errorObjectID - The error object for which to resolve the exception details.
GetHeapUsage returns the JavaScript heap usage. It is the total usage of
the corresponding isolate not scoped to a particular Runtime.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-getHeapUsage
GetIsolateID returns the isolate id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-getIsolateId
GetProperties returns properties of a given object. Object group of the
result is inherited from the target object.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-getProperties
parameters:
objectID - Identifier of the object to return properties for.
GlobalLexicalScopeNames returns all let, const and class variables from
global scope.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-globalLexicalScopeNames
parameters:
QueryObjects [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-queryObjects
parameters:
prototypeObjectID - Identifier of the prototype to return objects for.
ReleaseObject releases remote object with given id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-releaseObject
parameters:
objectID - Identifier of the object to release.
ReleaseObjectGroup releases all remote objects that belong to a given
group.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-releaseObjectGroup
parameters:
objectGroup - Symbolic object group name.
RemoveBinding this method does not remove binding function from global
object but unsubscribes current runtime agent from Runtime.bindingCalled
notifications.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-removeBinding
parameters:
name
RunIfWaitingForDebugger tells inspected instance to run if it was waiting
for debugger to attach.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-runIfWaitingForDebugger
RunScript runs script with given id in a given context.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-runScript
parameters:
scriptID - Id of the script to run.
SetCustomObjectFormatterEnabled [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-setCustomObjectFormatterEnabled
parameters:
enabled
SetMaxCallStackSizeToCapture [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-setMaxCallStackSizeToCapture
parameters:
size
TerminateExecution terminate current or next JavaScript execution. Will
cancel the termination when the outer-most script execution ends.
See: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#method-terminateExecution
Package-Level Constants (total 95)
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
DeepSerializedValueType values.
SerializationOptionsSerialization values.
SerializationOptionsSerialization values.
SerializationOptionsSerialization values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |