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 '
{
  "selector": "<string>"
}
'
{
  "success": true
}

Description

Clicks an element on the current page.

Authentication

Authorization: Bearer YOUR_API_KEY

Path Parameters

id
string
required
UUID of the browser.

Request Body

selector
string
required
CSS selector or other identifier for the element to click.

Response

success
boolean
Whether the click was performed successfully.

Example

curl -X POST https://api.rustybrowser.com/v1/browsers/550e8400-e29b-41d4-a716-446655440000/click/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "selector": "#submit-button" }'