inspect_element_tool
Diagnose click failures by inspecting element visibility, position, shadow DOM, and overlays.
Instructions
Inspect a single DOM element in detail — visibility, position, shadow DOM, overlays, and more.
Use this to diagnose why a click didn't work, check if an element is obscured by an overlay, verify shadow DOM context, or examine element state before interacting.
Args: session_id: Active session ID. selector: CSS selector of the element to inspect. frame_context: Iframe selector path. Use 'main' or omit for top-level. include_listeners: Detect inline event handlers (onclick, etc.). Default: false. include_children: Include child element summary. Default: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| selector | Yes | ||
| frame_context | No | ||
| include_listeners | No | ||
| include_children | No |