debug_get_element_properties
Inspect a specific DOM element to retrieve attributes, dimensions, computed styles, accessibility data, parent chain, and event listeners for deep debugging.
Instructions
Get comprehensive properties of a specific element for deep debugging analysis
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": {
"contextId": "<contextId>",
"selector": "<selector>"
},
"name": "debug_get_element_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector to target the element for inspection | |
| contextId | Yes | Browser context ID from browser_launch | |
| includeAttributes | No | Include all element attributes | |
| includeDimensions | No | Include element dimensions and positioning | |
| includeParentChain | No | Include parent element chain up to body | |
| includeAccessibility | No | Include accessibility properties (ARIA, roles, etc.) | |
| includeComputedStyles | No | Include computed CSS styles | |
| includeEventListeners | No | Include attached event listeners (if detectable) |