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