Class AXNode
- java.lang.Object
-
- org.openqa.selenium.devtools.accessibility.model.AXNode
-
public class AXNode extends java.lang.Object
A node in the accessibility tree.
-
-
Constructor Summary
Constructors Constructor Description AXNode(AXNodeId nodeId, java.lang.Boolean ignored, java.util.List<AXProperty> ignoredReasons, AXValue role, AXValue name, AXValue description, AXValue value, java.util.List<AXProperty> properties, java.util.List<AXNodeId> childIds, BackendNodeId backendDOMNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendNodeId
getBackendDOMNodeId()
The backend ID for the associated DOM node, if any.java.util.List<AXNodeId>
getChildIds()
IDs for each of this node's child nodes.AXValue
getDescription()
The accessible description for this `Node`.java.lang.Boolean
getIgnored()
Whether this node is ignored for accessibilityjava.util.List<AXProperty>
getIgnoredReasons()
Collection of reasons why this node is hidden.AXValue
getName()
The accessible name for this `Node`.AXNodeId
getNodeId()
Unique identifier for this node.java.util.List<AXProperty>
getProperties()
All other propertiesAXValue
getRole()
This `Node`'s role, whether explicit or implicit.AXValue
getValue()
The value for this `Node`.
-
-
-
Constructor Detail
-
AXNode
public AXNode(AXNodeId nodeId, java.lang.Boolean ignored, java.util.List<AXProperty> ignoredReasons, AXValue role, AXValue name, AXValue description, AXValue value, java.util.List<AXProperty> properties, java.util.List<AXNodeId> childIds, BackendNodeId backendDOMNodeId)
-
-
Method Detail
-
getNodeId
public AXNodeId getNodeId()
Unique identifier for this node.
-
getIgnored
public java.lang.Boolean getIgnored()
Whether this node is ignored for accessibility
-
getIgnoredReasons
public java.util.List<AXProperty> getIgnoredReasons()
Collection of reasons why this node is hidden.
-
getRole
public AXValue getRole()
This `Node`'s role, whether explicit or implicit.
-
getName
public AXValue getName()
The accessible name for this `Node`.
-
getDescription
public AXValue getDescription()
The accessible description for this `Node`.
-
getValue
public AXValue getValue()
The value for this `Node`.
-
getProperties
public java.util.List<AXProperty> getProperties()
All other properties
-
getChildIds
public java.util.List<AXNodeId> getChildIds()
IDs for each of this node's child nodes.
-
getBackendDOMNodeId
public BackendNodeId getBackendDOMNodeId()
The backend ID for the associated DOM node, if any.
-
-