Accessibility.getPartialAXTree

Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.

{
  "name": "getPartialAXTree",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "DOM.NodeId",
      "description": "ID of node to get the partial accessibility tree for."
    },
    {
      "name": "fetchRelatives",
      "type": "boolean",
      "description": "Whether to fetch this nodes ancestors, siblings and children. Defaults to true.",
      "optional": true
    }
  ],
  "returns": [
    {
      "name": "nodes",
      "type": "array",
      "items": {
        "$ref": "AXNode"
      },
      "description": "The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested."
    }
  ],
  "description": "Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.",
  "experimental": true
}