scrollByViewport
fun SemanticsNodeInteractionsProvider.scrollByViewport(vertical: Boolean = true, forward: Boolean = true, fraction: Float = 0.8f)(source)
Scrolls the main container by fraction of the root's size on the given axis.
Parameters
vertical
Whether to scroll vertically.
forward
Whether to scroll toward the end (down or right in left-to-right layouts).
fraction
The share of the viewport to scroll, from 0 (exclusive) to 1.