Can't click Allow button in permission dialog in Android using Appium

后端 未结 5 1801
予麋鹿
予麋鹿 2021-02-08 21:30

I am unable to tap on Deny or Allow buttons on the permissions dialog in Android using Appium+Java. Do I need to add any capabilities before going to tap on those buttons? Below

5条回答
  •  借酒劲吻你
    2021-02-08 22:25

    I tried lot many solutions before I found what is the fix. I had enabled Touch ball / quick ball feature and icon used stay always on the screen to help me navigate.

    This app was the culprit which had overlay feature enabled and wasn't easy to figure it out by browsing the active apps under the installed apps.

    Note: Mine was MIUI 11 with Android 7 for Redmi Note 4.

提交回复
热议问题