session_click_selector
Clicks a page element using a CSS selector in an active browser session, enabling targeted automation after the session is opened.
Instructions
Click an element on the session's current page, located by a CSS selector.
Requires a session opened with profile_start first. selector is a CSS
selector (e.g. "button#submit", "a.nav-link") — not an XPath, not a role/name
pair (use session_snapshot to find one).
Args: name: identity name, exactly as profiles_list reports it. selector: CSS selector for the element to click.
Returns {ok: true}. Fails with a readable message if the session is not open (409 — call profile_start first), the identity does not exist (404), or the selector never matches / the click times out (502).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| selector | Yes |