Skip to main content
POST
/
browsers
/
{id}
/
computer
/
move_mouse
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

await client.browsers.computer.moveMouse('id', { x: 0, y: 0 });
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

Body

application/json
x
integer
required

X coordinate to move the cursor to

y
integer
required

Y coordinate to move the cursor to

hold_keys
string[]

Modifier keys to hold during the move

Response

Mouse cursor moved

I