1

Team,

I am facing issues to accept the permission on Android using Appium. I have tried below options:

  • capabilities.SetCapability("autoAcceptAlerts", true);
  • driver.switch_to_alert()
  • driver.findElement(By.id("Allow_buttonID")).click();
  • mobile:acceptAlert [UIAutomator2 specific]

Still unable to accept the permission alerts i.e. Unable to tap on "Allow"

My environment :

  • Windows : 10
  • Appium : 1.10.0
  • Platform : Android[8.1.1/9.0]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.