cURL
curl --request POST \ --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/mouse/click \ --header 'Content-Type: application/json' \ --header 'anchor-api-key: <api-key>' \ --data ' { "x": 123, "y": 123, "button": "left" } '
{ "status": "<string>" }
Performs a mouse click at the specified coordinates
API key passed in the header
The ID of the browser session
X coordinate
Y coordinate
Mouse button to use
left
middle
right
Click performed successfully
Was this page helpful?