right click
Right-click / context-menu click on a labeled element
Right-click a labeled control (context menus, open-in-new-tab affordances).
Syntax
When I right click on "<target>" [by …]Qualifiers
| Qualifier | Role | Example |
|---|---|---|
on | Target label | right click on "Row 3" |
by … | Optional find hint | right click on "row-3" by data-testid |
Requirements
| Item | Contract |
|---|---|
| Element / control shape | General resolve (ResolveByLabel) |
| How the label binds | Auto-find or by … |
| Qualifiers that change resolve | on + optional find hint |
| Platform | Web only (v1) |
| Wrong shape → use instead | See click Requirements |
See also UI contracts.
Examples
When I right click on "Row 3"Notes
- Uses action resolve auto-wait (~30s), same contract as click / double click.
- Web only for v1.