Skip to content

Instantly share code, notes, and snippets.

@Egorand
Created July 17, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Egorand/94ad5f80880ca0b2b40b07a36109ed00 to your computer and use it in GitHub Desktop.
Save Egorand/94ad5f80880ca0b2b40b07a36109ed00 to your computer and use it in GitHub Desktop.
android-testing-runtime-permissions-open-permissions
public static void openPermissions(UiDevice device) throws UiObjectNotFoundException {
UiObject permissions = device.findObject(new UiSelector().text(TEXT_PERMISSIONS));
permissions.click();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment