Checking Webview Items for Testing

We have a web view in our application that shows up as a single web page item (android.webkit.WebView). without displaying a layout hierarchy to test individual UI components. I tried to inspect elements using "UI Automator Viewer" and "Appium Inspector" and the same results. Is there any other tool I can use to validate web views? Please advise!

+3


source to share


2 answers


UIAutomatorViewer can only see native items. Everything under the WebView is web elements. You need to switch from native to web context. Link



+3


source


This feature was broken in Android Lollipop but it seems to have been fixed recently with Android System Webview v44, try refreshing webview and check it



0


source







All Articles