Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandDisable + const CommandEnable + const CommandGetAXNodeAndAncestors + const CommandGetChildAXNodes + const CommandGetFullAXTree + const CommandGetPartialAXTree + const CommandGetRootAXNode + const CommandQueryAXTree + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventLoadComplete struct + Root *Node + func (v *EventLoadComplete) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventLoadComplete) UnmarshalJSON(data []byte) error + func (v EventLoadComplete) MarshalEasyJSON(w *jwriter.Writer) + func (v EventLoadComplete) MarshalJSON() ([]byte, error) + type EventNodesUpdated struct + Nodes []*Node + func (v *EventNodesUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventNodesUpdated) UnmarshalJSON(data []byte) error + func (v EventNodesUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventNodesUpdated) MarshalJSON() ([]byte, error) + type GetAXNodeAndAncestorsParams struct + BackendNodeID cdp.BackendNodeID + NodeID cdp.NodeID + ObjectID runtime.RemoteObjectID + func GetAXNodeAndAncestors() *GetAXNodeAndAncestorsParams + func (p *GetAXNodeAndAncestorsParams) Do(ctx context.Context) (nodes []*Node, err error) + func (p GetAXNodeAndAncestorsParams) WithBackendNodeID(backendNodeID cdp.BackendNodeID) *GetAXNodeAndAncestorsParams + func (p GetAXNodeAndAncestorsParams) WithNodeID(nodeID cdp.NodeID) *GetAXNodeAndAncestorsParams + func (p GetAXNodeAndAncestorsParams) WithObjectID(objectID runtime.RemoteObjectID) *GetAXNodeAndAncestorsParams + func (v *GetAXNodeAndAncestorsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetAXNodeAndAncestorsParams) UnmarshalJSON(data []byte) error + func (v GetAXNodeAndAncestorsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetAXNodeAndAncestorsParams) MarshalJSON() ([]byte, error) + type GetAXNodeAndAncestorsReturns struct + Nodes []*Node + func (v *GetAXNodeAndAncestorsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetAXNodeAndAncestorsReturns) UnmarshalJSON(data []byte) error + func (v GetAXNodeAndAncestorsReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetAXNodeAndAncestorsReturns) MarshalJSON() ([]byte, error) + type GetChildAXNodesParams struct + FrameID cdp.FrameID + ID NodeID + func GetChildAXNodes(id NodeID) *GetChildAXNodesParams + func (p *GetChildAXNodesParams) Do(ctx context.Context) (nodes []*Node, err error) + func (p GetChildAXNodesParams) WithFrameID(frameID cdp.FrameID) *GetChildAXNodesParams + func (v *GetChildAXNodesParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetChildAXNodesParams) UnmarshalJSON(data []byte) error + func (v GetChildAXNodesParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetChildAXNodesParams) MarshalJSON() ([]byte, error) + type GetChildAXNodesReturns struct + Nodes []*Node + func (v *GetChildAXNodesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetChildAXNodesReturns) UnmarshalJSON(data []byte) error + func (v GetChildAXNodesReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetChildAXNodesReturns) MarshalJSON() ([]byte, error) + type GetFullAXTreeParams struct + Depth int64 + FrameID cdp.FrameID + func GetFullAXTree() *GetFullAXTreeParams + func (p *GetFullAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error) + func (p GetFullAXTreeParams) WithDepth(depth int64) *GetFullAXTreeParams + func (p GetFullAXTreeParams) WithFrameID(frameID cdp.FrameID) *GetFullAXTreeParams + func (v *GetFullAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetFullAXTreeParams) UnmarshalJSON(data []byte) error + func (v GetFullAXTreeParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetFullAXTreeParams) MarshalJSON() ([]byte, error) + type GetFullAXTreeReturns struct + Nodes []*Node + func (v *GetFullAXTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetFullAXTreeReturns) UnmarshalJSON(data []byte) error + func (v GetFullAXTreeReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetFullAXTreeReturns) MarshalJSON() ([]byte, error) + type GetPartialAXTreeParams struct + BackendNodeID cdp.BackendNodeID + FetchRelatives bool + NodeID cdp.NodeID + ObjectID runtime.RemoteObjectID + func GetPartialAXTree() *GetPartialAXTreeParams + func (p *GetPartialAXTreeParams) Do(ctx context.Context) (nodes []*Node, err 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 + func (v *GetPartialAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetPartialAXTreeParams) UnmarshalJSON(data []byte) error + func (v GetPartialAXTreeParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetPartialAXTreeParams) MarshalJSON() ([]byte, error) + type GetPartialAXTreeReturns struct + Nodes []*Node + func (v *GetPartialAXTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetPartialAXTreeReturns) UnmarshalJSON(data []byte) error + func (v GetPartialAXTreeReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetPartialAXTreeReturns) MarshalJSON() ([]byte, error) + type GetRootAXNodeParams struct + FrameID cdp.FrameID + func GetRootAXNode() *GetRootAXNodeParams + func (p *GetRootAXNodeParams) Do(ctx context.Context) (node *Node, err error) + func (p GetRootAXNodeParams) WithFrameID(frameID cdp.FrameID) *GetRootAXNodeParams + func (v *GetRootAXNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetRootAXNodeParams) UnmarshalJSON(data []byte) error + func (v GetRootAXNodeParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetRootAXNodeParams) MarshalJSON() ([]byte, error) + type GetRootAXNodeReturns struct + Node *Node + func (v *GetRootAXNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetRootAXNodeReturns) UnmarshalJSON(data []byte) error + func (v GetRootAXNodeReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetRootAXNodeReturns) MarshalJSON() ([]byte, error) + type Node struct + BackendDOMNodeID cdp.BackendNodeID + ChildIDs []NodeID + ChromeRole *Value + Description *Value + FrameID cdp.FrameID + Ignored bool + IgnoredReasons []*Property + Name *Value + NodeID NodeID + ParentID NodeID + Properties []*Property + Role *Value + Value *Value + func (v *Node) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Node) UnmarshalJSON(data []byte) error + func (v Node) MarshalEasyJSON(w *jwriter.Writer) + func (v Node) MarshalJSON() ([]byte, error) + type NodeID string + func (t NodeID) String() string + type Property struct + Name PropertyName + Value *Value + func (v *Property) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Property) UnmarshalJSON(data []byte) error + func (v Property) MarshalEasyJSON(w *jwriter.Writer) + func (v Property) MarshalJSON() ([]byte, error) + type PropertyName string + 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 PropertyNameURL + const PropertyNameValuemax + const PropertyNameValuemin + const PropertyNameValuetext + func (t *PropertyName) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PropertyName) UnmarshalJSON(buf []byte) error + func (t PropertyName) MarshalEasyJSON(out *jwriter.Writer) + func (t PropertyName) MarshalJSON() ([]byte, error) + func (t PropertyName) String() string + type QueryAXTreeParams struct + AccessibleName string + BackendNodeID cdp.BackendNodeID + NodeID cdp.NodeID + ObjectID runtime.RemoteObjectID + Role string + func QueryAXTree() *QueryAXTreeParams + func (p *QueryAXTreeParams) Do(ctx context.Context) (nodes []*Node, err error) + func (p QueryAXTreeParams) WithAccessibleName(accessibleName string) *QueryAXTreeParams + func (p QueryAXTreeParams) WithBackendNodeID(backendNodeID cdp.BackendNodeID) *QueryAXTreeParams + func (p QueryAXTreeParams) WithNodeID(nodeID cdp.NodeID) *QueryAXTreeParams + func (p QueryAXTreeParams) WithObjectID(objectID runtime.RemoteObjectID) *QueryAXTreeParams + func (p QueryAXTreeParams) WithRole(role string) *QueryAXTreeParams + func (v *QueryAXTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *QueryAXTreeParams) UnmarshalJSON(data []byte) error + func (v QueryAXTreeParams) MarshalEasyJSON(w *jwriter.Writer) + func (v QueryAXTreeParams) MarshalJSON() ([]byte, error) + type QueryAXTreeReturns struct + Nodes []*Node + func (v *QueryAXTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *QueryAXTreeReturns) UnmarshalJSON(data []byte) error + func (v QueryAXTreeReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v QueryAXTreeReturns) MarshalJSON() ([]byte, error) + type RelatedNode struct + BackendDOMNodeID cdp.BackendNodeID + Idref string + Text string + func (v *RelatedNode) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RelatedNode) UnmarshalJSON(data []byte) error + func (v RelatedNode) MarshalEasyJSON(w *jwriter.Writer) + func (v RelatedNode) MarshalJSON() ([]byte, error) + type Value struct + RelatedNodes []*RelatedNode + Sources []*ValueSource + Type ValueType + Value easyjson.RawMessage + func (v *Value) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Value) UnmarshalJSON(data []byte) error + func (v Value) MarshalEasyJSON(w *jwriter.Writer) + func (v Value) MarshalJSON() ([]byte, error) + type ValueNativeSourceType string + const ValueNativeSourceTypeDescription + const ValueNativeSourceTypeFigcaption + const ValueNativeSourceTypeLabel + const ValueNativeSourceTypeLabelfor + const ValueNativeSourceTypeLabelwrapped + const ValueNativeSourceTypeLegend + const ValueNativeSourceTypeOther + const ValueNativeSourceTypeRubyannotation + const ValueNativeSourceTypeTablecaption + const ValueNativeSourceTypeTitle + func (t *ValueNativeSourceType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ValueNativeSourceType) UnmarshalJSON(buf []byte) error + func (t ValueNativeSourceType) MarshalEasyJSON(out *jwriter.Writer) + func (t ValueNativeSourceType) MarshalJSON() ([]byte, error) + func (t ValueNativeSourceType) String() string + type ValueSource struct + Attribute string + AttributeValue *Value + Invalid bool + InvalidReason string + NativeSource ValueNativeSourceType + NativeSourceValue *Value + Superseded bool + Type ValueSourceType + Value *Value + func (v *ValueSource) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ValueSource) UnmarshalJSON(data []byte) error + func (v ValueSource) MarshalEasyJSON(w *jwriter.Writer) + func (v ValueSource) MarshalJSON() ([]byte, error) + type ValueSourceType string + const ValueSourceTypeAttribute + const ValueSourceTypeContents + const ValueSourceTypeImplicit + const ValueSourceTypePlaceholder + const ValueSourceTypeRelatedElement + const ValueSourceTypeStyle + func (t *ValueSourceType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ValueSourceType) UnmarshalJSON(buf []byte) error + func (t ValueSourceType) MarshalEasyJSON(out *jwriter.Writer) + func (t ValueSourceType) MarshalJSON() ([]byte, error) + func (t ValueSourceType) String() string + type ValueType string + 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 + func (t *ValueType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ValueType) UnmarshalJSON(buf []byte) error + func (t ValueType) MarshalEasyJSON(out *jwriter.Writer) + func (t ValueType) MarshalJSON() ([]byte, error) + func (t ValueType) String() string