scrollUp

abstract suspend fun scrollUp(amount: Int = 25, speed: Int = 800)

Scrolls the tab up by a specified amount.

This method simulates a scroll gesture upwards by a percentage of the viewport height.

Parameters

amount

The percentage of the viewport height to scroll up. Defaults to 25%. 25 is a quarter of page, 50 half, and 1000 is 10x the page

speed

Swipe speed in pixels per second (default: 800).