0

I want to click on a button that does not have id. This button has a class name - ImageButton. Also, the button is located on the tollbar I can not do this because I do not have id

onView(...).perform(click());

Trying to use Baristo, but this does not work:

click(withClassName(ImageButton.class));

0 Answers0