I've got a webview in this hierarchy:
//UIAApplication[1]/UIAWindow[1]/UIAScrollView[1]/UIAWebView
It contains 2 UIATextField's and one UIATextField[1]
When I look for the elements while still in the native context, they are all found. In addition, I can click the button object while in the native context (strange)...
But when I switch to the WEBVIEW_1 context, none of the elements can be seen. Any ideas why?
BTW, while in native context I can see the Email element using this locator:
"//UIAScrollView/UIAWebView/UIATextField[@value='Email']"
But while in WEBVIEW_1 context the element cannot be found using that locator, nor these:
"//UIAApplication[1]/UIAWindow[1]/UIAScrollView[1]/UIAWebView[1]/UIATextField[1]"
"//UIAWebView/UIATextField[1]"
"//UIATextField[1]"
QUESTION: While in a webview context, do we need to use a locator strategy other than the above?