When switching contexts on a real iOS device through appium, the view is not changing. For example:
- I click a link that opens a new tab in WEBVIEW_1
- WEBVIEW_2 is created and the context is automatically switched
- I switch the context back to WEBVIEW_1 (and switch to the appropriate window handle)
- WEBVIEW_2 is still displayed.
I am using appium 1.7.0 on BrowserStack.
Conversely, when switching contexts on a simulated device, the webviews do change. Is this a known issue with real devices?
I’d preferably like to close the new WEBVIEW, but calling Close on the webdriver is crashing my appium so unfortunately that is not a solution.