Package io.webfolder.cdp.command
Interface Accessibility
-
public interface Accessibility
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AXNode>
getPartialAXTree()
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.List<AXNode>
getPartialAXTree(Integer nodeId, Integer backendNodeId, String objectId, Boolean fetchRelatives)
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
-
-
-
Method Detail
-
getPartialAXTree
List<AXNode> getPartialAXTree(Integer nodeId, Integer backendNodeId, String objectId, Boolean fetchRelatives)
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.- Parameters:
nodeId
- Identifier of the node to get the partial accessibility tree for.backendNodeId
- Identifier of the backend node to get the partial accessibility tree for.objectId
- JavaScript object id of the node wrapper to get the partial accessibility tree for.fetchRelatives
- Whether to fetch this nodes ancestors, siblings and children. Defaults to true.- Returns:
- The
Accessibility.AXNode
for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
-
-