get_dom_node
Inspect a DOM node's tag, attributes, text, parent, children, and visibility at a specific timestamp to diagnose UI issues. Use node ID or CSS selector to retrieve detailed node information.
Instructions
Inspect detailed properties of a specific DOM node at a given timestamp (tag, attributes, text, parent, children, visibility state).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "get_dom_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | LogicalNodeId to inspect | |
| selector | No | CSS selector query if nodeId is unknown | |
| sessionId | Yes | Session ID | |
| timestamp | No | Timestamp in milliseconds |