I have a test in which I need to click on the button located on the toolbar. This button does not have an id, but it has the name of the class - ImageButton. How can I click on it using Espresso or Barista?
click(withClassName(ImageButton.class));
Aucun commentaire:
Enregistrer un commentaire