So (using python bindings) I’m installing/opening our app, then want to be opening safari alongside it. This opens Safari fine.
viewer.ui.driver.activate_app('com.apple.mobilesafari') safari = SafariDialog(viewer.ui) import time time.sleep(2) print(viewer.ui.driver.contexts)
I was expecting on that last line to see 2 app contexts available to me, so clearly I forgot to tell appium I want to support multiple contexts at runtime? the code only prints out
Is this expected? I am able to access the elements in the browser, but what I’m seeing there is not tallying with other people automating safari, since the entire browser is just one huge “app” is that expected? I having to work out where things like back buttons etc are, for example, is that expected?