scout_click
Click an element by snapshot ref to execute UI actions and get outcome plus oracle violations. Use 2-3 clicks to detect double-submission vulnerabilities in submit buttons.
Instructions
Click an element by its ref from the latest scout_snapshot. Returns the outcome plus any oracle violations triggered. clicks=2 (or 3) probes IMPATIENT-USER behaviour: a rapid multi-click that fires the same state-changing request twice means the control is not guarded against double submission (button stays enabled, endpoint not idempotent) — use it on every important submit/create button once; the result says explicitly whether duplicates fired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref, e.g. e12 | |
| clicks | No | 1 = normal; 2-3 = rapid repeated clicks (double-submit probe) | |
| session | No | Target this session directly instead of the active one — pass it explicitly when dispatching to MULTIPLE sessions in one turn (e.g. two scout_click calls with different `session`), which then run CONCURRENTLY rather than queueing. Omit for single-session sequential use. |