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": [ "<string>" ], "holdTime": 123 } '
{ "status": "<string>" }
Performs a keyboard shortcut using the specified keys
API key passed in the header
The ID of the browser session
Array of keys to press simultaneously
Time to hold the keys down in milliseconds
Shortcut performed successfully
Was this page helpful?