cURL
curl --request POST \ --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/keyboard/shortcut \ --header 'Content-Type: application/json' \ --header 'anchor-api-key: <api-key>' \ --data '{ "keys": [ "Ctrl", "a" ], "holdTime": 100 }'
{ "status": "success" }
Performs a keyboard shortcut using the specified keys
API key passed in the header
The ID of the browser session
Shortcut performed successfully
The response is of type object.
object