scroll

suspend fun scroll(direction: Direction, distancePercent: Int = DEFAULT_GESTURE_PERCENT, timeout: Duration? = null): ScrollResult(source)

One scroll gesture on the one matching node towards direction's content edge (UiAutomator semantics: DOWN reveals content below). Returns source-attributed movement/edge evidence where available. Unknown is neither unchanged nor at end.