waitForDisplayedView

fun waitForDisplayedView(matcher: Matcher<View>): ViewInteraction

ViewInteraction to wait on a matcher to be effectively visible. See ViewMatchers.withEffectiveVisibility for more information on effective visibility.