click_element
Click an element in a session page and get a screenshot with the resulting URL and title. Automatically falls back to JS click when overlays intercept, and supports force mode for hidden elements.
Instructions
Click an element in a session page. Returns a screenshot and the new URL/title after click. If a full-screen portal overlay (Radix/shadcn dialogs & menus) intercepts the pointer, automatically falls back to an element-level JS click and flags click_method='js_dispatch' — no workaround needed. Use force=true to bypass actionability checks for other cases (hidden/animating elements).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Bypass actionability checks (default: false). Use when overlays intercept clicks. | |
| observe | No | What to return about the resulting page. 'screenshot' (default): full-page image. 'none': structured result only, no image — cheapest, use through setup steps of a flow. 'map': semantic page map (get_page_map — token-light, best for 'what can I do next?'). 'checks': run_checks_on_session output (a11y/seo/perf/etc.). | screenshot |
| selector | Yes | CSS selector of element to click | |
| session_id | Yes | Session ID |