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.
SubscribeRelated
locator.dblclicklocator.dispatch_eventlocator.hoverlocator.press