UI Map
Fetch UI Map
Get the accessibility tree of the current page
GET
Fetch UI Map
Description
Returns the accessibility tree (UI map) of the current page as a flat array of nodes. Each node includes its role, name, properties, and parent relationship. Use this to understand the page structure before interacting with elements.Authentication
Open-source deployments do not require authentication by default. If your server config enablesX-API-Key, include that header with the request.
Path Parameters
string
required
The browser ID returned from Create Session.
Response
Returns an array of UI node objects.integer
Unique node ID within the current page.
integer
ID of the parent node. Absent on the root node.
string
Accessible name of the element.
string
ARIA role of the element, such as
"RootWebArea", "button", or "link".object
Additional accessibility properties such as
Url, Focusable, Checked, etc.
