Created
July 17, 2016 11:59
-
-
Save Egorand/94ad5f80880ca0b2b40b07a36109ed00 to your computer and use it in GitHub Desktop.
android-testing-runtime-permissions-open-permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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