Click element
import requests

url = 'https://api.simplex.sh/click'
headers = {
    'X-API-Key': 'your_api_key_here'
}
data = {
    'element_description': 'the search button',
    'session_id': 'your_session_id'  # Optional
}

response = requests.post(url, headers=headers, data=data)
print(response.json())
{
  "succeeded": true,
  "element_clicked": "<string>",
  "error": "<string>"
}
Clicks on an element identified by a natural language description.

Authorizations

X-API-Key
string
header
required

Simplex API Key

Body

multipart/form-data

Response

Click response

The response is of type object.