package accessibility
Import Path
github.com/chromedp/cdproto/accessibility (on go.dev)
Dependency Relation
imports 8 packages, and imported by one package
Involved Source Files
Package accessibility provides the Chrome DevTools Protocol
commands, types, and events for the Accessibility domain.
Generated by the cdproto-gen command.
easyjson.go
events.go
types.go
Package-Level Type Names (total 26)
DisableParams disables the accessibility domain.
Do executes Accessibility.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
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.
Do executes Accessibility.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
EventLoadComplete the loadComplete event mirrors the load complete event
sent by the browser to assistive technology when the web page has finished
loading.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#event-loadComplete
// New document root node.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLoadComplete : github.com/goccy/go-json.Marshaler
*EventLoadComplete : github.com/goccy/go-json.Unmarshaler
EventLoadComplete : github.com/mailru/easyjson.Marshaler
*EventLoadComplete : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLoadComplete : github.com/mailru/easyjson.Unmarshaler
EventLoadComplete : encoding/json.Marshaler
*EventLoadComplete : encoding/json.Unmarshaler
EventNodesUpdated the nodesUpdated event is sent every time a previously
requested node has changed the in tree.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#event-nodesUpdated
// Updated node data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventNodesUpdated : github.com/goccy/go-json.Marshaler
*EventNodesUpdated : github.com/goccy/go-json.Unmarshaler
EventNodesUpdated : github.com/mailru/easyjson.Marshaler
*EventNodesUpdated : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventNodesUpdated : github.com/mailru/easyjson.Unmarshaler
EventNodesUpdated : encoding/json.Marshaler
*EventNodesUpdated : encoding/json.Unmarshaler
GetAXNodeAndAncestorsParams fetches a node and all ancestors up to and
including the root. Requires enable() to have been called previously.
// Identifier of the backend node.
// Identifier of the node.
// JavaScript object id of the node wrapper.
Do executes Accessibility.getAXNodeAndAncestors against the provided context.
returns:
nodes
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithBackendNodeID identifier of the backend node to get.
WithNodeID identifier of the node to get.
WithObjectID JavaScript object id of the node wrapper to get.
GetAXNodeAndAncestorsParams : github.com/goccy/go-json.Marshaler
*GetAXNodeAndAncestorsParams : github.com/goccy/go-json.Unmarshaler
GetAXNodeAndAncestorsParams : github.com/mailru/easyjson.Marshaler
*GetAXNodeAndAncestorsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAXNodeAndAncestorsParams : github.com/mailru/easyjson.Unmarshaler
GetAXNodeAndAncestorsParams : encoding/json.Marshaler
*GetAXNodeAndAncestorsParams : encoding/json.Unmarshaler
func GetAXNodeAndAncestors() *GetAXNodeAndAncestorsParams
func GetAXNodeAndAncestorsParams.WithBackendNodeID(backendNodeID cdp.BackendNodeID) *GetAXNodeAndAncestorsParams
func GetAXNodeAndAncestorsParams.WithNodeID(nodeID cdp.NodeID) *GetAXNodeAndAncestorsParams
func GetAXNodeAndAncestorsParams.WithObjectID(objectID runtime.RemoteObjectID) *GetAXNodeAndAncestorsParams
GetAXNodeAndAncestorsReturns return values.
// The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAXNodeAndAncestorsReturns : github.com/goccy/go-json.Marshaler
*GetAXNodeAndAncestorsReturns : github.com/goccy/go-json.Unmarshaler
GetAXNodeAndAncestorsReturns : github.com/mailru/easyjson.Marshaler
*GetAXNodeAndAncestorsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAXNodeAndAncestorsReturns : github.com/mailru/easyjson.Unmarshaler
GetAXNodeAndAncestorsReturns : encoding/json.Marshaler
*GetAXNodeAndAncestorsReturns : encoding/json.Unmarshaler
GetChildAXNodesParams fetches a particular accessibility node by AXNodeId.
Requires enable() to have been called previously.
// The frame in whose document the node resides. If omitted, the root frame is used.
ID NodeID
Do executes Accessibility.getChildAXNodes against the provided context.
returns:
nodes
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithFrameID the frame in whose document the node resides. If omitted, the
root frame is used.
GetChildAXNodesParams : github.com/goccy/go-json.Marshaler
*GetChildAXNodesParams : github.com/goccy/go-json.Unmarshaler
GetChildAXNodesParams : github.com/mailru/easyjson.Marshaler
*GetChildAXNodesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetChildAXNodesParams : github.com/mailru/easyjson.Unmarshaler
GetChildAXNodesParams : encoding/json.Marshaler
*GetChildAXNodesParams : encoding/json.Unmarshaler
func GetChildAXNodes(id NodeID) *GetChildAXNodesParams
func GetChildAXNodesParams.WithFrameID(frameID cdp.FrameID) *GetChildAXNodesParams
GetChildAXNodesReturns return values.
// The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetChildAXNodesReturns : github.com/goccy/go-json.Marshaler
*GetChildAXNodesReturns : github.com/goccy/go-json.Unmarshaler
GetChildAXNodesReturns : github.com/mailru/easyjson.Marshaler
*GetChildAXNodesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetChildAXNodesReturns : github.com/mailru/easyjson.Unmarshaler
GetChildAXNodesReturns : encoding/json.Marshaler
*GetChildAXNodesReturns : encoding/json.Unmarshaler
GetFullAXTreeParams fetches the entire accessibility tree for the root
Document.
// The maximum depth at which descendants of the root node should be retrieved. If omitted, the full tree is returned.
// The frame for whose document the AX tree should be retrieved. If omitted, the root frame is used.
Do executes Accessibility.getFullAXTree against the provided context.
returns:
nodes
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithDepth the maximum depth at which descendants of the root node should
be retrieved. If omitted, the full tree is returned.
WithFrameID the frame for whose document the AX tree should be retrieved.
If omitted, the root frame is used.
GetFullAXTreeParams : github.com/goccy/go-json.Marshaler
*GetFullAXTreeParams : github.com/goccy/go-json.Unmarshaler
GetFullAXTreeParams : github.com/mailru/easyjson.Marshaler
*GetFullAXTreeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFullAXTreeParams : github.com/mailru/easyjson.Unmarshaler
GetFullAXTreeParams : encoding/json.Marshaler
*GetFullAXTreeParams : encoding/json.Unmarshaler
func GetFullAXTree() *GetFullAXTreeParams
func GetFullAXTreeParams.WithDepth(depth int64) *GetFullAXTreeParams
func GetFullAXTreeParams.WithFrameID(frameID cdp.FrameID) *GetFullAXTreeParams
GetFullAXTreeReturns return values.
// The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetFullAXTreeReturns : github.com/goccy/go-json.Marshaler
*GetFullAXTreeReturns : github.com/goccy/go-json.Unmarshaler
GetFullAXTreeReturns : github.com/mailru/easyjson.Marshaler
*GetFullAXTreeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFullAXTreeReturns : github.com/mailru/easyjson.Unmarshaler
GetFullAXTreeReturns : encoding/json.Marshaler
*GetFullAXTreeReturns : encoding/json.Unmarshaler
GetPartialAXTreeParams fetches the accessibility node and partial
accessibility tree for this DOM node, if it exists.
// Identifier of the backend node to get the partial accessibility tree for.
// Whether to fetch this node's ancestors, siblings and children. Defaults to true.
// Identifier of the node to get the partial accessibility tree for.
// JavaScript object id of the node wrapper to get the partial accessibility tree for.
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.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithBackendNodeID identifier of the backend node to get the partial
accessibility tree for.
WithFetchRelatives whether to fetch this node's ancestors, siblings and
children. Defaults to true.
WithNodeID identifier of the node to get the partial accessibility tree
for.
WithObjectID JavaScript object id of the node wrapper to get the partial
accessibility tree for.
GetPartialAXTreeParams : github.com/goccy/go-json.Marshaler
*GetPartialAXTreeParams : github.com/goccy/go-json.Unmarshaler
GetPartialAXTreeParams : github.com/mailru/easyjson.Marshaler
*GetPartialAXTreeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPartialAXTreeParams : github.com/mailru/easyjson.Unmarshaler
GetPartialAXTreeParams : encoding/json.Marshaler
*GetPartialAXTreeParams : encoding/json.Unmarshaler
func GetPartialAXTree() *GetPartialAXTreeParams
func GetPartialAXTreeParams.WithBackendNodeID(backendNodeID cdp.BackendNodeID) *GetPartialAXTreeParams
func GetPartialAXTreeParams.WithFetchRelatives(fetchRelatives bool) *GetPartialAXTreeParams
func GetPartialAXTreeParams.WithNodeID(nodeID cdp.NodeID) *GetPartialAXTreeParams
func GetPartialAXTreeParams.WithObjectID(objectID runtime.RemoteObjectID) *GetPartialAXTreeParams
GetPartialAXTreeReturns return values.
// The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetPartialAXTreeReturns : github.com/goccy/go-json.Marshaler
*GetPartialAXTreeReturns : github.com/goccy/go-json.Unmarshaler
GetPartialAXTreeReturns : github.com/mailru/easyjson.Marshaler
*GetPartialAXTreeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPartialAXTreeReturns : github.com/mailru/easyjson.Unmarshaler
GetPartialAXTreeReturns : encoding/json.Marshaler
*GetPartialAXTreeReturns : encoding/json.Unmarshaler
GetRootAXNodeParams fetches the root node. Requires enable() to have been
called previously.
// The frame in whose document the node resides. If omitted, the root frame is used.
Do executes Accessibility.getRootAXNode against the provided context.
returns:
node
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithFrameID the frame in whose document the node resides. If omitted, the
root frame is used.
GetRootAXNodeParams : github.com/goccy/go-json.Marshaler
*GetRootAXNodeParams : github.com/goccy/go-json.Unmarshaler
GetRootAXNodeParams : github.com/mailru/easyjson.Marshaler
*GetRootAXNodeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetRootAXNodeParams : github.com/mailru/easyjson.Unmarshaler
GetRootAXNodeParams : encoding/json.Marshaler
*GetRootAXNodeParams : encoding/json.Unmarshaler
func GetRootAXNode() *GetRootAXNodeParams
func GetRootAXNodeParams.WithFrameID(frameID cdp.FrameID) *GetRootAXNodeParams
GetRootAXNodeReturns return values.
Node *Node
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetRootAXNodeReturns : github.com/goccy/go-json.Marshaler
*GetRootAXNodeReturns : github.com/goccy/go-json.Unmarshaler
GetRootAXNodeReturns : github.com/mailru/easyjson.Marshaler
*GetRootAXNodeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetRootAXNodeReturns : github.com/mailru/easyjson.Unmarshaler
GetRootAXNodeReturns : encoding/json.Marshaler
*GetRootAXNodeReturns : encoding/json.Unmarshaler
Node a node in the accessibility tree.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXNode
// The backend ID for the associated DOM node, if any.
// IDs for each of this node's child nodes.
// This Node's Chrome raw role.
// The accessible description for this Node.
// The frame ID for the frame associated with this nodes document.
// Whether this node is ignored for accessibility
// Collection of reasons why this node is hidden.
// The accessible name for this Node.
// Unique identifier for this node.
// ID for this node's parent.
// All other properties
// This Node's role, whether explicit or implicit.
// The value for this Node.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Node : github.com/goccy/go-json.Marshaler
*Node : github.com/goccy/go-json.Unmarshaler
Node : github.com/mailru/easyjson.Marshaler
*Node : github.com/mailru/easyjson.MarshalerUnmarshaler
*Node : github.com/mailru/easyjson.Unmarshaler
Node : encoding/json.Marshaler
*Node : encoding/json.Unmarshaler
func (*GetAXNodeAndAncestorsParams).Do(ctx context.Context) (nodes []*Node, err error)
func (*GetChildAXNodesParams).Do(ctx context.Context) (nodes []*Node, err error)
func (*GetFullAXTreeParams).Do(ctx context.Context) (nodes []*Node, err error)
func (*GetPartialAXTreeParams).Do(ctx context.Context) (nodes []*Node, err error)
func (*GetRootAXNodeParams).Do(ctx context.Context) (node *Node, err error)
func (*QueryAXTreeParams).Do(ctx context.Context) (nodes []*Node, err error)
NodeID unique accessibility node identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXNodeId
String returns the NodeID as string value.
NodeID : expvar.Var
NodeID : fmt.Stringer
func GetChildAXNodes(id NodeID) *GetChildAXNodesParams
Property [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXProperty
// The name of this property.
// The value of this property.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Property : github.com/goccy/go-json.Marshaler
*Property : github.com/goccy/go-json.Unmarshaler
Property : github.com/mailru/easyjson.Marshaler
*Property : github.com/mailru/easyjson.MarshalerUnmarshaler
*Property : github.com/mailru/easyjson.Unmarshaler
Property : encoding/json.Marshaler
*Property : encoding/json.Unmarshaler
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
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the PropertyName as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
PropertyName : github.com/goccy/go-json.Marshaler
*PropertyName : github.com/goccy/go-json.Unmarshaler
PropertyName : github.com/mailru/easyjson.Marshaler
*PropertyName : github.com/mailru/easyjson.MarshalerUnmarshaler
*PropertyName : github.com/mailru/easyjson.Unmarshaler
PropertyName : encoding/json.Marshaler
*PropertyName : encoding/json.Unmarshaler
PropertyName : expvar.Var
PropertyName : fmt.Stringer
const PropertyNameActivedescendant
const PropertyNameAtomic
const PropertyNameAutocomplete
const PropertyNameBusy
const PropertyNameChecked
const PropertyNameControls
const PropertyNameDescribedby
const PropertyNameDetails
const PropertyNameDisabled
const PropertyNameEditable
const PropertyNameErrormessage
const PropertyNameExpanded
const PropertyNameFlowto
const PropertyNameFocusable
const PropertyNameFocused
const PropertyNameHasPopup
const PropertyNameHidden
const PropertyNameHiddenRoot
const PropertyNameInvalid
const PropertyNameKeyshortcuts
const PropertyNameLabelledby
const PropertyNameLevel
const PropertyNameLive
const PropertyNameModal
const PropertyNameMultiline
const PropertyNameMultiselectable
const PropertyNameOrientation
const PropertyNameOwns
const PropertyNamePressed
const PropertyNameReadonly
const PropertyNameRelevant
const PropertyNameRequired
const PropertyNameRoledescription
const PropertyNameRoot
const PropertyNameSelected
const PropertyNameSettable
const PropertyNameValuemax
const PropertyNameValuemin
const PropertyNameValuetext
QueryAXTreeParams query a DOM node's accessibility subtree for accessible
name and role. This command computes the name and role for all nodes in the
subtree, including those that are ignored for accessibility, and returns
those that mactch the specified name and role. If no DOM node is specified,
or the DOM node does not exist, the command returns an error. If neither
accessibleName or role is specified, it returns all the accessibility nodes
in the subtree.
// Find nodes with this computed name.
// Identifier of the backend node for the root to query.
// Identifier of the node for the root to query.
// JavaScript object id of the node wrapper for the root to query.
// Find nodes with this computed role.
Do executes Accessibility.queryAXTree against the provided context.
returns:
nodes - A list of Accessibility.AXNode matching the specified attributes, including nodes that are ignored for accessibility.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithAccessibleName find nodes with this computed name.
WithBackendNodeID identifier of the backend node for the root to query.
WithNodeID identifier of the node for the root to query.
WithObjectID JavaScript object id of the node wrapper for the root to
query.
WithRole find nodes with this computed role.
QueryAXTreeParams : github.com/goccy/go-json.Marshaler
*QueryAXTreeParams : github.com/goccy/go-json.Unmarshaler
QueryAXTreeParams : github.com/mailru/easyjson.Marshaler
*QueryAXTreeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*QueryAXTreeParams : github.com/mailru/easyjson.Unmarshaler
QueryAXTreeParams : encoding/json.Marshaler
*QueryAXTreeParams : encoding/json.Unmarshaler
func QueryAXTree() *QueryAXTreeParams
func QueryAXTreeParams.WithAccessibleName(accessibleName string) *QueryAXTreeParams
func QueryAXTreeParams.WithBackendNodeID(backendNodeID cdp.BackendNodeID) *QueryAXTreeParams
func QueryAXTreeParams.WithNodeID(nodeID cdp.NodeID) *QueryAXTreeParams
func QueryAXTreeParams.WithObjectID(objectID runtime.RemoteObjectID) *QueryAXTreeParams
func QueryAXTreeParams.WithRole(role string) *QueryAXTreeParams
QueryAXTreeReturns return values.
// The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
QueryAXTreeReturns : github.com/goccy/go-json.Marshaler
*QueryAXTreeReturns : github.com/goccy/go-json.Unmarshaler
QueryAXTreeReturns : github.com/mailru/easyjson.Marshaler
*QueryAXTreeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*QueryAXTreeReturns : github.com/mailru/easyjson.Unmarshaler
QueryAXTreeReturns : encoding/json.Marshaler
*QueryAXTreeReturns : encoding/json.Unmarshaler
RelatedNode [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXRelatedNode
// The BackendNodeId of the related DOM node.
// The IDRef value provided, if any.
// The text alternative of this node in the current context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RelatedNode : github.com/goccy/go-json.Marshaler
*RelatedNode : github.com/goccy/go-json.Unmarshaler
RelatedNode : github.com/mailru/easyjson.Marshaler
*RelatedNode : github.com/mailru/easyjson.MarshalerUnmarshaler
*RelatedNode : github.com/mailru/easyjson.Unmarshaler
RelatedNode : encoding/json.Marshaler
*RelatedNode : encoding/json.Unmarshaler
Value a single computed AX property.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValue
// One or more related nodes, if applicable.
// The sources which contributed to the computation of this property.
// The type of this value.
// The computed value of this property.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Value : github.com/goccy/go-json.Marshaler
*Value : github.com/goccy/go-json.Unmarshaler
Value : github.com/mailru/easyjson.Marshaler
*Value : github.com/mailru/easyjson.MarshalerUnmarshaler
*Value : github.com/mailru/easyjson.Unmarshaler
Value : encoding/json.Marshaler
*Value : encoding/json.Unmarshaler
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
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ValueNativeSourceType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ValueNativeSourceType : github.com/goccy/go-json.Marshaler
*ValueNativeSourceType : github.com/goccy/go-json.Unmarshaler
ValueNativeSourceType : github.com/mailru/easyjson.Marshaler
*ValueNativeSourceType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ValueNativeSourceType : github.com/mailru/easyjson.Unmarshaler
ValueNativeSourceType : encoding/json.Marshaler
*ValueNativeSourceType : encoding/json.Unmarshaler
ValueNativeSourceType : expvar.Var
ValueNativeSourceType : fmt.Stringer
const ValueNativeSourceTypeDescription
const ValueNativeSourceTypeFigcaption
const ValueNativeSourceTypeLabel
const ValueNativeSourceTypeLabelfor
const ValueNativeSourceTypeLabelwrapped
const ValueNativeSourceTypeLegend
const ValueNativeSourceTypeOther
const ValueNativeSourceTypeRubyannotation
const ValueNativeSourceTypeTablecaption
const ValueNativeSourceTypeTitle
ValueSource a single source for a computed AX property.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueSource
// The name of the relevant attribute, if any.
// The value of the relevant attribute, if any.
// Whether the value for this property is invalid.
// Reason for the value being invalid, if it is.
// The native markup source for this value, e.g. a <label> element.
// The value, such as a node or node list, of the native source.
// Whether this source is superseded by a higher priority source.
// What type of source this is.
// The value of this property source.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ValueSource : github.com/goccy/go-json.Marshaler
*ValueSource : github.com/goccy/go-json.Unmarshaler
ValueSource : github.com/mailru/easyjson.Marshaler
*ValueSource : github.com/mailru/easyjson.MarshalerUnmarshaler
*ValueSource : github.com/mailru/easyjson.Unmarshaler
ValueSource : encoding/json.Marshaler
*ValueSource : encoding/json.Unmarshaler
ValueSourceType enum of possible property sources.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueSourceType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ValueSourceType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ValueSourceType : github.com/goccy/go-json.Marshaler
*ValueSourceType : github.com/goccy/go-json.Unmarshaler
ValueSourceType : github.com/mailru/easyjson.Marshaler
*ValueSourceType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ValueSourceType : github.com/mailru/easyjson.Unmarshaler
ValueSourceType : encoding/json.Marshaler
*ValueSourceType : encoding/json.Unmarshaler
ValueSourceType : expvar.Var
ValueSourceType : fmt.Stringer
const ValueSourceTypeAttribute
const ValueSourceTypeContents
const ValueSourceTypeImplicit
const ValueSourceTypePlaceholder
const ValueSourceTypeRelatedElement
const ValueSourceTypeStyle
ValueType enum of possible property types.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#type-AXValueType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ValueType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ValueType : github.com/goccy/go-json.Marshaler
*ValueType : github.com/goccy/go-json.Unmarshaler
ValueType : github.com/mailru/easyjson.Marshaler
*ValueType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ValueType : github.com/mailru/easyjson.Unmarshaler
ValueType : encoding/json.Marshaler
*ValueType : encoding/json.Unmarshaler
ValueType : expvar.Var
ValueType : fmt.Stringer
const ValueTypeBoolean
const ValueTypeBooleanOrUndefined
const ValueTypeComputedString
const ValueTypeDomRelation
const ValueTypeIdref
const ValueTypeIdrefList
const ValueTypeInteger
const ValueTypeInternalRole
const ValueTypeNode
const ValueTypeNodeList
const ValueTypeNumber
const ValueTypeRole
const ValueTypeString
const ValueTypeToken
const ValueTypeTokenList
const ValueTypeTristate
const ValueTypeValueUndefined
Package-Level Functions (total 8)
Disable disables the accessibility domain.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-disable
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
GetAXNodeAndAncestors fetches a node and all ancestors up to and including
the root. Requires enable() to have been called previously.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getAXNodeAndAncestors
parameters:
GetChildAXNodes fetches a particular accessibility node by AXNodeId.
Requires enable() to have been called previously.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getChildAXNodes
parameters:
id
GetFullAXTree fetches the entire accessibility tree for the root Document.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getFullAXTree
parameters:
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:
GetRootAXNode fetches the root node. Requires enable() to have been called
previously.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-getRootAXNode
parameters:
QueryAXTree query a DOM node's accessibility subtree for accessible name
and role. This command computes the name and role for all nodes in the
subtree, including those that are ignored for accessibility, and returns
those that mactch the specified name and role. If no DOM node is specified,
or the DOM node does not exist, the command returns an error. If neither
accessibleName or role is specified, it returns all the accessibility nodes
in the subtree.
See: https://chromedevtools.github.io/devtools-protocol/tot/Accessibility#method-queryAXTree
parameters:
Package-Level Constants (total 80)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
PropertyName values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueNativeSourceType values.
ValueSourceType values.
ValueSourceType values.
ValueSourceType values.
ValueSourceType values.
ValueSourceType values.
ValueSourceType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType values.
ValueType 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. |