Skip to main content
GET
Fetch UI Map Diff

Description

Returns the diff of the accessibility tree compared to the previous snapshot. Only nodes that have been added, removed, or changed are included. Useful for detecting page changes after an action without fetching the full tree.

Authentication

Open-source deployments do not require authentication by default. If your server config enables X-API-Key, include that header with the request.

Path Parameters

id
string
required
The browser ID returned from Create Session.

Response

Returns an array of changed UI node objects. Same structure as Fetch UI Map.
[].id
integer
Unique node ID within the current page.
[].parent_id
integer
ID of the parent node.
[].name
string
Accessible name of the element.
[].role
string
ARIA role of the element.
[].properties
object
Additional accessibility properties.

Example