Browser Computer Controls

Simulate a mouse click action on the browser instance

post/browsers/{id_or_name}/computer/click_mouse

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/browsers/{id_or_name}/computer/click_mouse
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Browser session ID or name

Request body

button'left' | 'right' | 'middle' | 'back' | 'forward'

Mouse button to interact with

click_type'down' | 'up' | 'click'

Type of click action

hold_keysstring[]

Modifier keys to hold during the click

num_clicksinteger

Number of times to repeat the click

trueinteger

Y coordinate of the click position

xinteger required

X coordinate of the click position

Response

Mouse action performed

Changes

No recorded changes to this operation across all 76 revisions of this API.