ApplesauceOS
Read Markdown ↗Download .md

Element.scroll

Scroll the nearest scroll view by 75% of its viewport.

js
element.scroll(direction = "down")

Arguments

ArgumentTypeMeaning
directionstring | object"up", "down", "left", "right", or {direction}.

Returns

The same element.

Example

js
const element = UIHelper.waitForElement({id: "target", visible: true, enabled: true}, 5000);
element.scroll("down");

Notes

This updates scroll position without finger simulation or animation. At the boundary it may not move. Use swipe for touch gestures.

All JavaScript APIs · Automation playbook