← Back to Accessibility domain
Accessibility.getFullAXTree
Fetches the entire accessibility tree for the root Document
Domain: Accessibility
experimental
Parameters
| Name | Type | Description |
depth (optional) | integer | The maximum depth at which descendants of the root node should be retrieved.
If omitted, the full tree is returned. |
frameId (optional) | Page.FrameId | The frame for whose document the AX tree should be retrieved.
If omitted, the root frame is used. |
Returns
| Name | Type | Description |
nodes | array | |
Example Request
{
"id": 1,
"method": "Accessibility.getFullAXTree"
}
Example Response
{
"id": 1,
"result": {
"nodes": []
}
}
Usage in Node.js
const result = await send('Accessibility.getFullAXTree');
console.log(result);
// {"nodes": []}