Searched refs:okButtonSelector (Results 1 – 1 of 1) sorted by relevance
116 BySelector okButtonSelector = By.text(Pattern.compile("ok", Pattern.CASE_INSENSITIVE)); in grantSmsPermission() local117 uiDevice.wait(Until.hasObject(okButtonSelector), 5_000L /* timeout */); in grantSmsPermission()118 uiDevice.findObject(okButtonSelector).click(); in grantSmsPermission()