Hi Team,
I am working with iOS Hybrid App, I need to test app on Real device with Latest iOS versions 10.3.3 and above.
Currently when I lands on web view(it opens within the App not in safari) in the app and wait time almost 25-30 seconds still I am unable to find a webView in getContextHandles() onscreen webView displays under 5 seconds, it is returning only nativeView
A. Tried to launch iOS-webkit-debug proxy+Appium from capabilities - did not worked
- Capabilities.setCapability(“startIWDP”, true);
- Capabilities.setCapability(“webkitDebugProxyPort”, “27753”);
B. Tried to launch Manually iOS-webkit-debug proxy+Appium- did not worked
- Start Appium server: appium --webkit-debug-proxy-port 27753
- Start iOS-webKit-proxy: ios_webkit_debug_proxy -c myDeviceUDID:27753 -d
C. Tried Manual proxy- did not worked
- launch iOS-webKit-proxy: ios_webkit_debug_proxy -c myDeviceUDID:27753 -d
- In App Navigate to the webContent page (it opens within the App not in safari)
- Open url http://localhost:27753/json
- Empty response - {}
And when I try to launch safari and go to any random website, url http://localhost:27753/json shows response
[{
“devtoolsFrontendUrl”: “/devtools/devtools.html?ws=localhost:27753/devtools/page/1”,
“faviconUrl”: “”,
“thumbnailUrl”: “/thumb/xyz/”,
“title”: “xyzzy”,
“url”: “xyzzy”,
“webSocketDebuggerUrl”: “ws://localhost:27753/devtools/page/1”,
“appId”: “PID:xyz”
}]
Can someone please help me to understand what exactly I am missing ?
Below are the versions on which I am working
iOS: 10.3.3
xCode: 9
Appium: 1.7.1
Java client: 5.0.3
selenium: 3.6.0
ios_webkit_debug_proxy 1.8
I have validated iOS_webkit_proxy connection with the help of ticket https://github.com/appium/appium/issues/9014
Thanks
Masood