Is using Safari possible? Siri prompt blocking
See original GitHub issueThe problem
I make an account on application, want to verify the email address. I open Safari, a prompt to enable/disable Siri appears. I can’t dismiss it, no results when findElements. No additional context appears besides “NATIVE_APP” either. Is using safari in automated tests just not possible.
Environment
- Appium version (or git revision) that exhibits the issue: ^1.17.1
- Desktop OS/version used to run Appium: macOS Big Sur 11.1
- Node.js version (unless using Appium.app|exe): 14.15.1
- Npm or Yarn package manager: NPM 6.14.8
- Mobile platform/version under test: iOS 13.0
- Real device or emulator/simulator: Real Device
- Appium CLI or Appium.app|exe: Appium CLI
Details
Using a Real Device on BrowserStack
Code To Reproduce Issue
await this.driver.activateApp("com.apple.mobilesafari");
await this.driver.url(href);
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Change Siri settings on iPhone
Go to Settings > Siri & Search, then do any of the following: Prevent Siri from responding to the voice request “Hey Siri”:...
Read more >Use accessibility features with Siri on iPhone
Use Siri on iPhone to turn accessibility features on or off, make and receive phone calls, hear notifications, and more.
Read more >Customize website notifications in Safari on Mac
Use Siri suggestions Stop seeing Siri Suggestions in Safari: Choose Apple menu > System Settings, click Siri & Spotlight in the sidebar (you...
Read more >Siri pop-ups relentless! - Apple Community
I'm getting Siri popups on my new MacBook Pro 16". I've turned off Siri in the System Preferences but it keeps popping up...
Read more >Use parental controls on your child's iPhone, iPad, and ...
With Content & Privacy Restrictions in Screen Time, you can block or limit specific apps and features on your child's device.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This only means that using deep liking in native context is limited by Apple’s security restrictions.
There are at least 3 different possibilities to interact with Safari in Appium:
It seems it could happen when Siri stuff is called via XCTest framework before turning Siri on by hand on the device. Not sure when the behavior changed, but Apple changed to behaves so.
btw, Appium opens an URL via Siri because the way was the most reliable.