Skip to content
masterclass Buddy

Playwright · Function

page.click

locator.click performs a user-like click after Playwright waits for the element to be ready. It can also use modifiers, a mouse button, a position, or forced action.

Last updated

Syntax

locator.click(**kwargs)

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

Subscribe
  • locator.dblclick
  • locator.dispatch_event
  • locator.hover
  • locator.press

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