DOM change timeline
query_dom_historyTrack attribute and text changes for a DOM element over a session using a CSS selector. Returns a chronological list of modifications to show how the element evolved.
Instructions
Timeline of attribute and/or text changes over a session for the node matching a CSS selector - useful for tracking how one element evolved. Returns JSON { selector, changes }. Use op to restrict to attribute changes or innerText; omit for both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id from list_recent_sessions. | |
| selector | Yes | CSS selector for the node to track, e.g. '#status' or '.cart-count'. | |
| op | No | Restrict to 'attributeChanges' or 'innerText'. Omit to include both. | |
| limit | No | Maximum changes to return (1-500; default 100). |