click
Click a labeled button, link, or control
Click a control by label. Optional container or table-row scoping for one-shot clicks.
Syntax
When I click on "<target>" [by …]
When I click on "<target>" in "<container>"
When I click on "<target>" in row "<row-key>"
When I click on "<header>" columnQualifiers
| Qualifier | Role | Example |
|---|---|---|
on | Target label | click on "Login" |
in | One-shot click inside a container (does not change the in stack) | click on "Delete" in "Laptop" |
in row | Scope to a table row by cell text | click on "Edit" in row "chamodh@example.com" |
column | Prefer columnheader / th text match, then click | click on "Name" column |
by … | Optional find hint after the target | click on "Security" by aria-label |
Examples
When I click on "Login"
When I click on "Delete" in "Laptop"
When I click on "Edit" in row "chamodh@example.com"
When I click on "Security" by role "tab"
When I click on "Name" column
When I click on "Save*"Notes
"Save*"on the target is a glob — must match exactly one visible control.click on "…" columnprefers column headers and does not change defaultclick onstrategy order.