waitUntilDisplayed

fun waitUntilDisplayed(matcher: Matcher<View>, timeout: Duration = DefaultDeviceTimeout)(source)

Waits until a view matching matcher is displayed.

Parameters

matcher

Selects the view.

timeout

The nonnegative wait budget.

Throws

when no matching view is displayed in time.