Skip to main content
POST
/
v1
/
browsers
/
{id}
/
node-click
Node Click
curl --request POST \
  --url https://api.example.com/v1/browsers/{id}/node-click/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "selector": "<string>"
}
'
{
  "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 a DOM element identified by a CSS selector. For clicking by pixel coordinates, use 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

selector
string
required
CSS selector for the element to click.

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/node-click/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "selector": "#submit-button" }'
{
  "ok": true
}