Skip to main content
POST
/
v1
/
browsers
/
{id}
/
click
Click
curl --request POST \
  --url https://api.example.com/v1/browsers/{id}/click/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "x": 123,
  "y": 123
}
'
{
  "ok": true
}

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.

Description

Clicks at a specific X/Y coordinate on the current page. For clicking a known DOM element by selector, use Node Click instead.

Authentication

Authorization: Bearer YOUR_API_KEY
Self-hosted open source deployments do not require authentication.

Path Parameters

id
string
required
The browser ID returned from Create Session.

Request Body

x
number
required
Horizontal coordinate to click (pixels from left).
y
number
required
Vertical coordinate to click (pixels from top).

Response

ok
boolean
Whether the click was performed successfully.

Example

curl -X POST https://api.rustybrowser.com/v1/browsers/exc-b9534e98-c3ce-4d1b-9671-b563ac66adc3/click/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "x": 100, "y": 200 }'
{
  "ok": true
}