Skip to main content
POST
/
api
/
mouse
/
scroll
Scroll Mouse Wheel
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/mouse/scroll \
  --header 'Content-Type: application/json' \
  --data '
{
  "clicks": 3,
  "display_num": 1
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json

Scroll operation parameters

clicks
integer
required

Number of clicks to scroll. Positive numbers scroll up, negative numbers scroll down

Example:

3

display_num
integer
default:1

Display number to target

Example:

1

Response

Successfully performed scroll operation