Browser Computer Controls

Scroll the mouse wheel at a position on the host computer

post/browsers/{id_or_name}/computer/scroll

Request

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

Path parameters

id_or_namestring required

Browser session ID or name

Request body

delta_xinteger

Horizontal scroll amount in xdotool "wheel units." Positive scrolls right, negative scrolls left.

delta_yinteger

Vertical scroll amount in xdotool "wheel units." Positive scrolls down, negative scrolls up.

hold_keysstring[]

Modifier keys to hold during the scroll

trueinteger

Y coordinate at which to perform the scroll

xinteger required

X coordinate at which to perform the scroll

Response

Scroll performed

Changes

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