Hi Naresh,
I did all these above steps but no help.
After setting the capabilities and launching the app I am not able to see index.html page in my safari if I use autoWebView, true in my capability
I am getting strange behaviour, If I am not using autowebview and then lauching the app then I am able to see index.html page. I suppose Appium is considering and taking my app as native app.
I even double checked this using
driver.Context="NATIVE_APP"; // index.html visible
driver.Context="WEBVIEW_1"; //index.html becomes disabled and not able to click on that
Even checked through localhost:27753 and the same behaviour.
When I force appium to switch context to webview and then click it just passes that step without doing any event(click/sendkeys)
and in native view it was showing error:
info: atom did not return yet, checking to see if we are blocked by an alert
info: Pushing command to appium work queue: "au.alertIsPresent()"
and it returns 8 commands found au.alertIsPresent()