appium: 🐞 bug: iOS Couldn't able to accept Prompt elements in latest XCUITest

Is there an existing issue for this?

  • I have searched the existing issues

Appium Version

2.16.2

Appium Host Type

Command Line

Are you using Appium components not maintained by the Appium team?

No response

Is this issue reproducible using the latest components?

  • I confirm the issue is still reproducible with the latest component versions

Current Behavior

With the latest versions of Appium(2.16.2) and XCUITest(8.3.2), we are unable to accept or decline prompt alerts. Added respectSystemAlerts in settings. It worked up to last week, suddenly its not accepting the prompts.

Expected Behavior

Appium should accept alert prompts. Worked last week.

Appium Log

No response

Environment Details

  • Debug details (appium --show-debug-info):
  • Last component version(s) which did not exhibit the problem:
  • Platform and version of device under test:
  • Real device or emulator/simulator:

Minimal Reproducible Example

Not accepting prompts

Further Information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (14 by maintainers)

Most upvoted comments

@KazuCocoa are you using a simulator or a real device? I’ve checked now on a simulator and it appears that the issue is not happening there, however it does on real devices (tested on an iPhone 12 Pro running iOS 17.7.2).