StrikekitStrikekit

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>" column

Qualifiers

QualifierRoleExample
onTarget labelclick on "Login"
inOne-shot click inside a container (does not change the in stack)click on "Delete" in "Laptop"
in rowScope to a table row by cell textclick on "Edit" in row "chamodh@example.com"
columnPrefer columnheader / th text match, then clickclick on "Name" column
by …Optional find hint after the targetclick 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 "…" column prefers column headers and does not change default click on strategy order.

On this page