Hello All,
I am trying to handle the system dialogs for allowing notifications to iOS mobile. The application is a mobile app. The versions that I am using:
- appium : 1.7.1
- XCode - Xcode 9
What I have tried:
Setting the capability “autoAcceptAlerts : true”
The one which works with Xcode 8.3 and appium 1.6.4 is:
await this.driver.elementByAccessibilityId(‘Allow’).click() --> This does not work with Xcode 9 and appium 1.7.1
But we need to upgrade to latest versions of Appium and Xcode. So I would request if someone could help me out with on how to handle system alerts with the latest versions of appium and Xcode?