> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rustybrowser.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Click

> Click at specific coordinates on the page

## Description

Clicks at a specific X/Y coordinate on the current page. For clicking a known DOM node, use [Node Click](/api-reference/endpoints/commands/node-click) instead.

## Authentication

Open-source deployments do not require authentication by default. If your server config enables `X-API-Key`, include that header with the request.

## Path Parameters

<ParamField path="id" type="string" required>
  The browser ID returned from Create Session.
</ParamField>

## Request Body

<ParamField body="x" type="number" required>
  Horizontal coordinate to click, in pixels from the left.
</ParamField>

<ParamField body="y" type="number" required>
  Vertical coordinate to click, in pixels from the top.
</ParamField>

## Response

<ResponseField name="ok" type="boolean">
  Whether the click was performed successfully.
</ResponseField>

## Example

```bash theme={null}
curl -X POST http://localhost:8080/browsers/exc-b9534e98-c3ce-4d1b-9671-b563ac66adc3/click/ \
  -H "Content-Type: application/json" \
  -d '{ "x": 100, "y": 200 }'
```

<ResponseExample>
  ```json 200 theme={null}
  {
    "ok": true
  }
  ```
</ResponseExample>
