findNodeContainingBounds

fun ApiUiNode.findNodeContainingBounds(target: Bounds): ApiUiNode?

Finds the smallest node in the tree whose bounds contain (or equal) the target bounds. Returns null if no such node exists. Only considers nodes with non-null bounds. Used to find the Compose AndroidView node that corresponds to a WebView from the View tree.