Javascript
import Anchorbrowser from 'anchorbrowser'; const client = new Anchorbrowser({ apiKey: 'My API Key', }); const response = await client.sessions.keyboard.shortcut('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { keys: ['Ctrl', 'a'], }); console.log(response.status);
{ "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