# Not able to identify element in WEBVIEW in iOS hyprid app(build in Ionic) automation using Appium on real device

**URL:** <https://discuss.appium.io/t/not-able-to-identify-element-in-webview-in-ios-hyprid-app-build-in-ionic-automation-using-appium-on-real-device/10244>\
**Category:** Issues/Bugs\
**Created:** [May 17, 2016, 1:13pm UTC](https://discuss.appium.io/t/not-able-to-identify-element-in-webview-in-ios-hyprid-app-build-in-ionic-automation-using-appium-on-real-device/10244 "2016-05-17T13:13:09Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Suraj786](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@Suraj786](https://discuss.appium.io/u/Suraj786)\
**Post date:** [November 29, 2018, 10:56am UTC](https://discuss.appium.io/t/not-able-to-identify-element-in-webview-in-ios-hyprid-app-build-in-ionic-automation-using-appium-on-real-device/10244/26 "2018-11-29T10:56:19Z")

</div>

hi dhanu,

driver.switchTo.frame(frameid or index); and then try. If not check both page and popup dialogue are in same contexts or not. If they are in different contexts say page in “NATIVE” and dialogue in “WEBVIEW” then switch the contexts accordingly  
like  
driver.context(“NATIVE”);

---

_[View the full topic](https://discuss.appium.io/t/not-able-to-identify-element-in-webview-in-ios-hyprid-app-build-in-ionic-automation-using-appium-on-real-device/10244)._
