scrollUntilVisible Command

Purpose: Scrolls down a maximum of 5 times, until an element with the provided id is visible. If the no element with the matching id is visible within 5 scrolls GPTD will fail the test.

Syntax:

scrollUntilVisible.id: "..."

Example: To scroll down a page or list until an elemet with the id com.app.ui/login_button is visible:

scrollUntilVisible.id: "com.app.ui/login_button"

Last updated