Click element
clickClicks a UI element after waiting for it to be visible and actionable. Target elements using CSS selectors or accessibility-first locators like getByRole or getByText.
Instructions
Clicks an element in the session page. Auto-waits for the element to be visible, stable, and actionable. Targets support CSS selectors or accessibility-first locators (getByRole, getByText, getByLabel, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | How to locate the element: {"selector": "#id"} or {"fn": {"name": "getByRole", "args": ["button", {"name": "Sign in"}]}}. | |
| sessionId | Yes | Session id returned by start_session. Required on every stateful tool call. | |
| timeoutMs | No | Action timeout in milliseconds (default 10000). |