Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jan 24, 2018 06:58

Problem

WebView not indentified on a hybrid application using a device running iOS 10.0-10.2 and on the XCUITest framework.

Solution

This is a bug in Apple XCUITest framework. The XCUIElementTypeWebView element isn't identified as a UIWebView/WKWebView element but rather as an XCUIElementTypeOther.

This element is needed to know where to inject the web elements. It not being present prevents us from injecting the web elements.

In this case, there is no way to know where the "web" part should be.