findWebViewNode

fun ApiUiNode.findWebViewNode(): ApiUiNode?

Finds the first node in the tree (this node or descendants) whose className contains "WebView". Used to get the WebView subtree from the Accessibility Tree to merge under the View WebView node.


fun List<ApiUiNode>.findWebViewNode(): ApiUiNode?

Finds the first WebView node in any of the roots.