MAC Application Automation using Appium Driver Context Switching

Device: MAC
Browser: Safari

  1. Click on Sign on MAC Application
  2. It is opens Login Page on Safari Browser
  3. Enter credentials in Login Page on Safari Browser
  4. Click on “Sign In” button in Login Page on Safari Browser
  5. Click on Allow on Safari Browser Pop-up
  6. Navigate back to MAC Application

can above action be performed using Appium Driver ?
can above SupportsContextSwitching and getContextHandles() ?

If anyone has performed MAC Application (NATIVE_APP) switching to WebView, please help with sample code

Thanks in Advance,

No, this won’t work. You need to start different driver driver instances for Safari and for native Mac Apps from your framework