The Alerts/Permissions for iOS have issues. As of appium-xcuitest-driver V6 the normal getAlert-methods are not working. This is still an issue in the latest driver (7.8.2). The issue is that the alert is only shown in the scope outside of the app, take for example the home screen (com.apple.springboard) or it is not even returned. See:
The Alerts/Permissions for iOS have issues. As of
appium-xcuitest-driver
V6 the normalgetAlert
-methods are not working. This is still an issue in the latest driver (7.8.2). The issue is that the alert is only shown in the scope outside of the app, take for example the home screen (com.apple.springboard) or it is not even returned. See:This PR provides alternatives/workarounds for it and can be shared with the community