[iOS 13 Beta] Unable to switch context to webview as /contexts call returns only native view when the app is on SafariViewController
See original GitHub issueThe problem
I am working on a hybrid app where I need to switch the context from Native view to WebView when the app opens up a SafariViewController, but for the /contexts call, I am getting this response. The issue is ONLY there for iOS 13 Beta devices. This is working FINE in iOS 12 devices
{ “status”: 0, “value”: [ “NATIVE_APP” ], “sessionId”: “980c3541-68ec-419e-9475-345c5547d5e7” }
Briefly describe the issue you are experiencing (or the feature you want to see added to Appium). Tell us what you were trying to do and what happened instead. Remember, this is not a place to ask questions. For that, go to http://discuss.appium.io!
Environment
- Appium version (or git revision) that exhibits the issue: 1.14.0
- Mobile platform/version under test: iOS 13 Beta. It ran fine with iOS 12.2 devices
- Real device or emulator/simulator: Real Device
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium logs
Create a GIST which is a paste of your full Appium logs, and link them here. Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!
Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.
Please git clone https://github.com/appium/appium and from the sample-code
directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
This is most likely a problem with
ios-webkit-debug-proxy
. They are still working on iOS 13 support (see https://github.com/google/ios-webkit-debug-proxy/pull/317).Soon you should be able to try our beta of support for real device webviews without using
iwdp
.You can try running the latest Appium beta (by running
npm uninstall -g appium && npm install -g appium@beta
). In this,ios-webkit-debug-proxy
should not be necessary.