public interface Accessibility
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables the accessibility domain.
|
void |
enable()
Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method
calls.
|
List<AXNode> |
getFullAXTree()
Fetches the entire accessibility tree
|
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.
|
void disable()
void enable()
List<AXNode> getPartialAXTree()
List<AXNode> getPartialAXTree(Integer nodeId, Integer backendNodeId, String objectId, Boolean fetchRelatives)
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.Copyright © 2020. All rights reserved.