Interface Accessibility


  • public interface Accessibility
    • 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.
      • getPartialAXTree

        List<AXNode> getPartialAXTree()
        Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
        Returns:
        The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.