*** title: locator.click description: Click the matched element. --------------------------------------- `locator.click` is a browser runtime capability in the `locator` namespace. ## Availability * Runtime: `browser` * Kind: `raw` * Category: `interaction` * Supported drivers: Playwright, Puppeteer ## SDK Surface * SDK path: `runtime.page.locator(...).click` * Async: Yes ## HTTP Surface * Transport: `workspace.execute(...)` * Call: `locator.click` * Long-running: No ## Reference Semantics * Requires refs: `locator` ## Arguments | Argument | Type | Required | Description | | --------- | -------- | -------- | --------------------- | | `options` | `object` | No | Driver click options. | ## Result * Type: `void` * Description: Resolves when the click completes. ## SDK Example ```ts await runtime.page.locator('button[type=submit]').click(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "locator.click" } ] } ``` ## Related Capabilities * [`locator.fill`](../interaction/locator-fill) * [`locator.waitFor`](../interaction/locator-wait-for)