StrikekitStrikekit

force click

Force-click a labeled element, bypassing actionability checks

Click a labeled element with Playwright Force: true, bypassing visibility / stability / receives-events checks. Escape hatch when a default click is blocked by an intercepting overlay.

Syntax

When I force click on "<target>" [by …]

Qualifiers

QualifierRoleExample
onTarget labelforce click on "Submit"
by …Optional find hintforce click on "submit" by data-testid

Examples

When I force click on "Submit"

Notes

  • Does not change the default click on path — only this command forces the click.
  • Uses action resolve auto-wait (~30s), same contract as click.
  • Web only for v1. Appium / Platform: api return unsupported.

On this page