-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
[Mobile]Accepting iOS 14.4 location alerts doesn't work. #172
Comments
@kamil-nowocin have you tried In the latest version of appium, both solutions you tried most probable will works
|
Hey @dlenroc
So, 1.21.0 It's even worse than with 1.20.2 |
However with appium 1.21.0 I was able to switch context and accept alert, but I wasn't able to click on any element... |
OK I found the issue.
and we will call method by BUT... If we'll use direct search like So, where should I report that 'bug'? |
did you tried to wait for elements before interacting with them either via explicit waits or via
|
Yes, I have fully customized automation framework with bunch of various explicit waits. Before every action on element; element must be visible/clickable etc.
So yeah, I'm pretty sure this is working as expected since on Appium 1.20.2 I don't have any problems with element interaction. |
Hey @kamil-nowocin, just catching up on this thread. Does this issue happen still when using a native driver ( |
Hi @kamil-nowocin, I tried Please let me know if this is still an issue you are facing. |
Oh sorry @lukeyoui I didn't receive any notifications about any new comments in this thread... About alert This is how I managed to accept iOS permission alert (POC code)
This might be related to app structure or something. I don't really know, but I can confirm that About selectors
to
and it started working again - I hope this may be helpful information. |
Quick update if anyone will search information about this issue. On iPhone 8 |
Thanks for the info! That leads me to believe that it might be to do with the XCUITest driver. |
The problem
Can't accept permission to use location on iOS 14.4
Environment
Details
I'm not able to accept location prompt on iOS.
Appium caps:
I've also tried to use
driver.switchTo().alert().accept();
but seems that this command isn't implemented yet.This might be appium issue, but I'd be grateful if you could check if youiengine-driver is working as expected in regard to accepting iOS alerts. Thanks!
ps. I can provide more details if required.
Link to Appium logs
https://gist.github.com/kamil-nowocin/aece03e9b16dca34814d50b6c3581a49
The text was updated successfully, but these errors were encountered: