Documentation ¶
Overview ¶
Package accessibility provides the Chrome DevTools Protocol commands, types, and events for the Accessibility domain.
Generated by the cdproto-gen command.
Index ¶
- Constants
- type DisableParams
- type EnableParams
- type GetFullAXTreeParams
- func (p *GetFullAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error)
- func (v GetFullAXTreeParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v GetFullAXTreeParams) MarshalJSON() ([]byte, error)
- func (v *GetFullAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GetFullAXTreeParams) UnmarshalJSON(data []byte) error
- type GetFullAXTreeReturns
- type GetPartialAXTreeParams
- func (p *GetPartialAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error)
- func (v GetPartialAXTreeParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v GetPartialAXTreeParams) MarshalJSON() ([]byte, error)
- func (v *GetPartialAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GetPartialAXTreeParams) UnmarshalJSON(data []byte) error
- func (p GetPartialAXTreeParams) WithBackendNodeID(backendNodeID cdp.BackendNodeID) *GetPartialAXTreeParams
- func (p GetPartialAXTreeParams) WithFetchRelatives(fetchRelatives bool) *GetPartialAXTreeParams
- func (p GetPartialAXTreeParams) WithNodeID(nodeID cdp.NodeID) *GetPartialAXTreeParams
- func (p GetPartialAXTreeParams) WithObjectID(objectID runtime.RemoteObjectID) *GetPartialAXTreeParams
- type GetPartialAXTreeReturns
- type Node
- type NodeID
- type Property
- type PropertyName
- type RelatedNode
- type Value
- type ValueNativeSourceType
- func (t ValueNativeSourceType) MarshalEasyJSON(out *jwriter.Writer)
- func (t ValueNativeSourceType) MarshalJSON() ([]byte, error)
- func (t ValueNativeSourceType) String() string
- func (t *ValueNativeSourceType) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (t *ValueNativeSourceType) UnmarshalJSON(buf []byte) error
- type ValueSource
- type ValueSourceType
- type ValueType
Constants ¶
const ( CommandDisable = "Accessibility.disable" CommandEnable = "Accessibility.enable" CommandGetPartialAXTree = "Accessibility.getPartialAXTree" CommandGetFullAXTree = "Accessibility.getFullAXTree" )
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisableParams ¶
type DisableParams struct{}
DisableParams disables the accessibility domain.
func Disable ¶
func Disable() *DisableParams
Disable disables the accessibility domain.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-disable
func (*DisableParams) Do ¶
func (p *DisableParams) Do(ctx context.Context) (err error)
Do executes Accessibility.disable against the provided context.
func (DisableParams) MarshalEasyJSON ¶
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DisableParams) MarshalJSON ¶
func (v DisableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DisableParams) UnmarshalEasyJSON ¶
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DisableParams) UnmarshalJSON ¶
func (v *DisableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EnableParams ¶
type EnableParams struct{}
EnableParams enables the accessibility domain which causes AXNodeIds to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled.
func Enable ¶
func Enable() *EnableParams
Enable enables the accessibility domain which causes AXNodeIds to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-enable
func (*EnableParams) Do ¶
func (p *EnableParams) Do(ctx context.Context) (err error)
Do executes Accessibility.enable against the provided context.
func (EnableParams) MarshalEasyJSON ¶
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EnableParams) MarshalJSON ¶
func (v EnableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EnableParams) UnmarshalEasyJSON ¶
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EnableParams) UnmarshalJSON ¶
func (v *EnableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetFullAXTreeParams ¶
type GetFullAXTreeParams struct{}
GetFullAXTreeParams fetches the entire accessibility tree.
func GetFullAXTree ¶
func GetFullAXTree() *GetFullAXTreeParams
GetFullAXTree fetches the entire accessibility tree.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getFullAXTree
func (*GetFullAXTreeParams) Do ¶
func (p *GetFullAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error)
Do executes Accessibility.getFullAXTree against the provided context.
returns:
nodes
func (GetFullAXTreeParams) MarshalEasyJSON ¶
func (v GetFullAXTreeParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetFullAXTreeParams) MarshalJSON ¶
func (v GetFullAXTreeParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetFullAXTreeParams) UnmarshalEasyJSON ¶
func (v *GetFullAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetFullAXTreeParams) UnmarshalJSON ¶
func (v *GetFullAXTreeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetFullAXTreeReturns ¶
type GetFullAXTreeReturns struct {
Nodes []*Node `json:"nodes,omitempty"`
}
GetFullAXTreeReturns return values.
func (GetFullAXTreeReturns) MarshalEasyJSON ¶
func (v GetFullAXTreeReturns) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetFullAXTreeReturns) MarshalJSON ¶
func (v GetFullAXTreeReturns) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetFullAXTreeReturns) UnmarshalEasyJSON ¶
func (v *GetFullAXTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetFullAXTreeReturns) UnmarshalJSON ¶
func (v *GetFullAXTreeReturns) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetPartialAXTreeParams ¶
type GetPartialAXTreeParams struct { NodeID cdp.NodeID `json:"nodeId,omitempty"` // Identifier of the node to get the partial accessibility tree for. BackendNodeID cdp.BackendNodeID `json:"backendNodeId,omitempty"` // Identifier of the backend node to get the partial accessibility tree for. ObjectID runtime.RemoteObjectID `json:"objectId,omitempty"` // JavaScript object id of the node wrapper to get the partial accessibility tree for. FetchRelatives bool `json:"fetchRelatives,omitempty"` // Whether to fetch this nodes ancestors, siblings and children. Defaults to true. }
GetPartialAXTreeParams fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
func GetPartialAXTree ¶
func GetPartialAXTree() *GetPartialAXTreeParams
GetPartialAXTree fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getPartialAXTree
parameters:
func (*GetPartialAXTreeParams) Do ¶
func (p *GetPartialAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error)
Do executes Accessibility.getPartialAXTree against the provided context.
returns:
nodes - The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
func (GetPartialAXTreeParams) MarshalEasyJSON ¶
func (v GetPartialAXTreeParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetPartialAXTreeParams) MarshalJSON ¶
func (v GetPartialAXTreeParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetPartialAXTreeParams) UnmarshalEasyJSON ¶
func (v *GetPartialAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetPartialAXTreeParams) UnmarshalJSON ¶
func (v *GetPartialAXTreeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (GetPartialAXTreeParams) WithBackendNodeID ¶
func (p GetPartialAXTreeParams) WithBackendNodeID(backendNodeID cdp.BackendNodeID) *GetPartialAXTreeParams
WithBackendNodeID identifier of the backend node to get the partial accessibility tree for.
func (GetPartialAXTreeParams) WithFetchRelatives ¶
func (p GetPartialAXTreeParams) WithFetchRelatives(fetchRelatives bool) *GetPartialAXTreeParams
WithFetchRelatives whether to fetch this nodes ancestors, siblings and children. Defaults to true.
func (GetPartialAXTreeParams) WithNodeID ¶
func (p GetPartialAXTreeParams) WithNodeID(nodeID cdp.NodeID) *GetPartialAXTreeParams
WithNodeID identifier of the node to get the partial accessibility tree for.
func (GetPartialAXTreeParams) WithObjectID ¶
func (p GetPartialAXTreeParams) WithObjectID(objectID runtime.RemoteObjectID) *GetPartialAXTreeParams
WithObjectID JavaScript object id of the node wrapper to get the partial accessibility tree for.
type GetPartialAXTreeReturns ¶
type GetPartialAXTreeReturns struct {
Nodes []*Node `json:"nodes,omitempty"` // The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
}
GetPartialAXTreeReturns return values.
func (GetPartialAXTreeReturns) MarshalEasyJSON ¶
func (v GetPartialAXTreeReturns) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetPartialAXTreeReturns) MarshalJSON ¶
func (v GetPartialAXTreeReturns) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetPartialAXTreeReturns) UnmarshalEasyJSON ¶
func (v *GetPartialAXTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetPartialAXTreeReturns) UnmarshalJSON ¶
func (v *GetPartialAXTreeReturns) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Node ¶
type Node struct { NodeID NodeID `json:"nodeId"` // Unique identifier for this node. Ignored bool `json:"ignored"` // Whether this node is ignored for accessibility IgnoredReasons []*Property `json:"ignoredReasons,omitempty"` // Collection of reasons why this node is hidden. Role *Value `json:"role,omitempty"` // This Node's role, whether explicit or implicit. Name *Value `json:"name,omitempty"` // The accessible name for this Node. Description *Value `json:"description,omitempty"` // The accessible description for this Node. Value *Value `json:"value,omitempty"` // The value for this Node. Properties []*Property `json:"properties,omitempty"` // All other properties ChildIds []NodeID `json:"childIds,omitempty"` // IDs for each of this node's child nodes. BackendDOMNodeID cdp.BackendNodeID `json:"backendDOMNodeId,omitempty"` // The backend ID for the associated DOM node, if any. }
Node a node in the accessibility tree.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXNode
func (Node) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Node) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Node) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Node) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type NodeID ¶
type NodeID string
NodeID unique accessibility node identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXNodeId
type Property ¶
type Property struct { Name PropertyName `json:"name"` // The name of this property. Value *Value `json:"value"` // The value of this property. }
Property [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXProperty
func (Property) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Property) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Property) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Property) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type PropertyName ¶
type PropertyName string
PropertyName values of AXProperty name: - from 'busy' to 'roledescription': states which apply to every AX node - from 'live' to 'root': attributes which apply to nodes in live regions - from 'autocomplete' to 'valuetext': attributes which apply to widgets - from 'checked' to 'selected': states which apply to widgets - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXPropertyName
const ( PropertyNameBusy PropertyName = "busy" PropertyNameDisabled PropertyName = "disabled" PropertyNameEditable PropertyName = "editable" PropertyNameFocusable PropertyName = "focusable" PropertyNameFocused PropertyName = "focused" PropertyNameHidden PropertyName = "hidden" PropertyNameHiddenRoot PropertyName = "hiddenRoot" PropertyNameInvalid PropertyName = "invalid" PropertyNameKeyshortcuts PropertyName = "keyshortcuts" PropertyNameSettable PropertyName = "settable" PropertyNameRoledescription PropertyName = "roledescription" PropertyNameLive PropertyName = "live" PropertyNameAtomic PropertyName = "atomic" PropertyNameRelevant PropertyName = "relevant" PropertyNameRoot PropertyName = "root" PropertyNameAutocomplete PropertyName = "autocomplete" PropertyNameHasPopup PropertyName = "hasPopup" PropertyNameLevel PropertyName = "level" PropertyNameMultiselectable PropertyName = "multiselectable" PropertyNameOrientation PropertyName = "orientation" PropertyNameMultiline PropertyName = "multiline" PropertyNameReadonly PropertyName = "readonly" PropertyNameRequired PropertyName = "required" PropertyNameValuemin PropertyName = "valuemin" PropertyNameValuemax PropertyName = "valuemax" PropertyNameValuetext PropertyName = "valuetext" PropertyNameChecked PropertyName = "checked" PropertyNameExpanded PropertyName = "expanded" PropertyNameModal PropertyName = "modal" PropertyNamePressed PropertyName = "pressed" PropertyNameSelected PropertyName = "selected" PropertyNameActivedescendant PropertyName = "activedescendant" PropertyNameControls PropertyName = "controls" PropertyNameDescribedby PropertyName = "describedby" PropertyNameDetails PropertyName = "details" PropertyNameErrormessage PropertyName = "errormessage" PropertyNameFlowto PropertyName = "flowto" PropertyNameLabelledby PropertyName = "labelledby" PropertyNameOwns PropertyName = "owns" )
PropertyName values.
func (PropertyName) MarshalEasyJSON ¶
func (t PropertyName) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (PropertyName) MarshalJSON ¶
func (t PropertyName) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (PropertyName) String ¶
func (t PropertyName) String() string
String returns the PropertyName as string value.
func (*PropertyName) UnmarshalEasyJSON ¶
func (t *PropertyName) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (*PropertyName) UnmarshalJSON ¶
func (t *PropertyName) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type RelatedNode ¶
type RelatedNode struct { BackendDOMNodeID cdp.BackendNodeID `json:"backendDOMNodeId"` // The BackendNodeId of the related DOM node. Idref string `json:"idref,omitempty"` // The IDRef value provided, if any. Text string `json:"text,omitempty"` // The text alternative of this node in the current context. }
RelatedNode [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXRelatedNode
func (RelatedNode) MarshalEasyJSON ¶
func (v RelatedNode) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RelatedNode) MarshalJSON ¶
func (v RelatedNode) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RelatedNode) UnmarshalEasyJSON ¶
func (v *RelatedNode) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RelatedNode) UnmarshalJSON ¶
func (v *RelatedNode) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Value ¶
type Value struct { Type ValueType `json:"type"` // The type of this value. Value easyjson.RawMessage `json:"value,omitempty"` // The computed value of this property. RelatedNodes []*RelatedNode `json:"relatedNodes,omitempty"` // One or more related nodes, if applicable. Sources []*ValueSource `json:"sources,omitempty"` // The sources which contributed to the computation of this property. }
Value a single computed AX property.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValue
func (Value) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Value) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Value) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Value) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ValueNativeSourceType ¶
type ValueNativeSourceType string
ValueNativeSourceType enum of possible native property sources (as a subtype of a particular AXValueSourceType).
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueNativeSourceType
const ( ValueNativeSourceTypeLabel ValueNativeSourceType = "label" ValueNativeSourceTypeLabelfor ValueNativeSourceType = "labelfor" ValueNativeSourceTypeLabelwrapped ValueNativeSourceType = "labelwrapped" ValueNativeSourceTypeLegend ValueNativeSourceType = "legend" ValueNativeSourceTypeTitle ValueNativeSourceType = "title" ValueNativeSourceTypeOther ValueNativeSourceType = "other" )
ValueNativeSourceType values.
func (ValueNativeSourceType) MarshalEasyJSON ¶
func (t ValueNativeSourceType) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (ValueNativeSourceType) MarshalJSON ¶
func (t ValueNativeSourceType) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (ValueNativeSourceType) String ¶
func (t ValueNativeSourceType) String() string
String returns the ValueNativeSourceType as string value.
func (*ValueNativeSourceType) UnmarshalEasyJSON ¶
func (t *ValueNativeSourceType) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (*ValueNativeSourceType) UnmarshalJSON ¶
func (t *ValueNativeSourceType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type ValueSource ¶
type ValueSource struct { Type ValueSourceType `json:"type"` // What type of source this is. Value *Value `json:"value,omitempty"` // The value of this property source. Attribute string `json:"attribute,omitempty"` // The name of the relevant attribute, if any. AttributeValue *Value `json:"attributeValue,omitempty"` // The value of the relevant attribute, if any. Superseded bool `json:"superseded,omitempty"` // Whether this source is superseded by a higher priority source. NativeSource ValueNativeSourceType `json:"nativeSource,omitempty"` // The native markup source for this value, e.g. a <label> element. NativeSourceValue *Value `json:"nativeSourceValue,omitempty"` // The value, such as a node or node list, of the native source. Invalid bool `json:"invalid,omitempty"` // Whether the value for this property is invalid. InvalidReason string `json:"invalidReason,omitempty"` // Reason for the value being invalid, if it is. }
ValueSource a single source for a computed AX property.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueSource
func (ValueSource) MarshalEasyJSON ¶
func (v ValueSource) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ValueSource) MarshalJSON ¶
func (v ValueSource) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ValueSource) UnmarshalEasyJSON ¶
func (v *ValueSource) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ValueSource) UnmarshalJSON ¶
func (v *ValueSource) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ValueSourceType ¶
type ValueSourceType string
ValueSourceType enum of possible property sources.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueSourceType
const ( ValueSourceTypeAttribute ValueSourceType = "attribute" ValueSourceTypeImplicit ValueSourceType = "implicit" ValueSourceTypeStyle ValueSourceType = "style" ValueSourceTypeContents ValueSourceType = "contents" ValueSourceTypePlaceholder ValueSourceType = "placeholder" ValueSourceTypeRelatedElement ValueSourceType = "relatedElement" )
ValueSourceType values.
func (ValueSourceType) MarshalEasyJSON ¶
func (t ValueSourceType) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (ValueSourceType) MarshalJSON ¶
func (t ValueSourceType) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (ValueSourceType) String ¶
func (t ValueSourceType) String() string
String returns the ValueSourceType as string value.
func (*ValueSourceType) UnmarshalEasyJSON ¶
func (t *ValueSourceType) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (*ValueSourceType) UnmarshalJSON ¶
func (t *ValueSourceType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type ValueType ¶
type ValueType string
ValueType enum of possible property types.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueType
const ( ValueTypeBoolean ValueType = "boolean" ValueTypeTristate ValueType = "tristate" ValueTypeBooleanOrUndefined ValueType = "booleanOrUndefined" ValueTypeIdref ValueType = "idref" ValueTypeIdrefList ValueType = "idrefList" ValueTypeInteger ValueType = "integer" ValueTypeNode ValueType = "node" ValueTypeNodeList ValueType = "nodeList" ValueTypeNumber ValueType = "number" ValueTypeString ValueType = "string" ValueTypeComputedString ValueType = "computedString" ValueTypeToken ValueType = "token" ValueTypeTokenList ValueType = "tokenList" ValueTypeDomRelation ValueType = "domRelation" ValueTypeRole ValueType = "role" ValueTypeInternalRole ValueType = "internalRole" ValueTypeValueUndefined ValueType = "valueUndefined" )
ValueType values.
func (ValueType) MarshalEasyJSON ¶
MarshalEasyJSON satisfies easyjson.Marshaler.
func (ValueType) MarshalJSON ¶
MarshalJSON satisfies json.Marshaler.
func (*ValueType) UnmarshalEasyJSON ¶
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (*ValueType) UnmarshalJSON ¶
UnmarshalJSON satisfies json.Unmarshaler.