Class AXNode
java.lang.Object
org.openqa.selenium.devtools.v119.accessibility.model.AXNode
A node in the accessibility tree.
-
Constructor Summary
ConstructorDescriptionAXNode
(AXNodeId nodeId, Boolean ignored, Optional<List<AXProperty>> ignoredReasons, Optional<AXValue> role, Optional<AXValue> chromeRole, Optional<AXValue> name, Optional<AXValue> description, Optional<AXValue> value, Optional<List<AXProperty>> properties, Optional<AXNodeId> parentId, Optional<List<AXNodeId>> childIds, Optional<BackendNodeId> backendDOMNodeId, Optional<FrameId> frameId) -
Method Summary
Modifier and TypeMethodDescriptionThe 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 accessibilityCollection of reasons why this node is hidden.getName()
The accessible name for this `Node`.Unique identifier for this node.ID for this node's parent.All other propertiesgetRole()
This `Node`'s role, whether explicit or implicit.getValue()
The value for this `Node`.
-
Constructor Details
-
AXNode
public AXNode(AXNodeId nodeId, Boolean ignored, Optional<List<AXProperty>> ignoredReasons, Optional<AXValue> role, Optional<AXValue> chromeRole, Optional<AXValue> name, Optional<AXValue> description, Optional<AXValue> value, Optional<List<AXProperty>> properties, Optional<AXNodeId> parentId, Optional<List<AXNodeId>> childIds, Optional<BackendNodeId> backendDOMNodeId, Optional<FrameId> frameId)
-
-
Method Details
-
getNodeId
Unique identifier for this node. -
getIgnored
Whether this node is ignored for accessibility -
getIgnoredReasons
Collection of reasons why this node is hidden. -
getRole
This `Node`'s role, whether explicit or implicit. -
getChromeRole
This `Node`'s Chrome raw role. -
getName
The accessible name for this `Node`. -
getDescription
The accessible description for this `Node`. -
getValue
The value for this `Node`. -
getProperties
All other properties -
getParentId
ID for this node's parent. -
getChildIds
IDs for each of this node's child nodes. -
getBackendDOMNodeId
The backend ID for the associated DOM node, if any. -
getFrameId
The frame ID for the frame associated with this nodes document.
-