clickDisplayedView

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

ViewInteraction to tap on a matcher, ensuring that the view is visible before performing the click action.