Skip to content
masterclass Buddy

Playwright · Method

locator.click

locator.check() checks a checkbox or radio input. It waits until the control is ready, performs the action, and confirms the control is checked.

Last updated

Since
v1.14

Syntax

locator.check(*, force=None, no_wait_after=None, position=None, scroll=None, timeout=None, trial=None)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • locator.click
  • locator.set_checked
  • locator.uncheck
  • expect(locator).to_be_checked
  • browser_context.set_default_timeout
  • page.set_default_timeout

Source: Locator | Playwright Python. Checked 2026-11-03.