click

suspend fun click(tag: String)

Executes a physical tap or click on the UI element matching the provided tag.

This method automatically waits for the element to become visible before attempting the click. If the tag matches multiple visible nodes, it will pick the most specific one or the first match.


suspend fun click(selector: Selector)

Executes a physical tap or click on the UI element matching the selector.

Automatically waits for visibility.