Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android / Espresso / Spinner - How to click on a spinner item
onView(withId(R.id.spinner)).perform(click());
onView(allOf(withId(R.id.textview_in_custom_spinner), withText("DummyText"))).perform(click());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment