resolveVisibleNode

suspend fun resolveVisibleNode(selector: String): NodeSnapshot

Resolves and returns a visible NodeSnapshot matching the provided selector string.

This is a convenience shortcut for resolveNode with requireVisible = true.

Return

the resolved visible NodeSnapshot.

Parameters

selector

the query matching the target element.


suspend fun resolveVisibleNode(selector: Selector): NodeSnapshot

Resolves and returns a visible NodeSnapshot matching the provided selector.

This is a convenience shortcut for resolveNode with requireVisible = true.

Return

the resolved visible NodeSnapshot.

Parameters

selector

the query matching the target element.