We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appium recently changed the way xcuitest driver interracts with iOS devices and we are unable to click alert buttons from the app.
The change is documented here:
I believe the solution is to create a keyword called Click Alert Button to only handle alerts.
Click Alert Button
Examples: driver.settings.update({acceptAlertButtonSelector: '**/XCUIElementTypeButton[label=="Allow Once"]'}) driver.switch_to.alert.accept driver.execute_script 'mobile: alert', {action: 'accept', buttonLabel: 'Allow Once'}
driver.settings.update({acceptAlertButtonSelector: '**/XCUIElementTypeButton[
]'}) driver.switch_to.alert.accept
driver.execute_script 'mobile: alert', {action: 'accept', buttonLabel: 'Allow Once'}
The text was updated successfully, but these errors were encountered:
Fix created here: #420
Sorry, something went wrong.
No branches or pull requests
Appium recently changed the way xcuitest driver interracts with iOS devices and we are unable to click alert buttons from the app.
The change is documented here:
I believe the solution is to create a keyword called
Click Alert Button
to only handle alerts.Examples:
driver.settings.update({acceptAlertButtonSelector: '**/XCUIElementTypeButton[
label=="Allow Once"]'}) driver.switch_to.alert.accept
driver.execute_script 'mobile: alert', {action: 'accept', buttonLabel: 'Allow Once'}
The text was updated successfully, but these errors were encountered: