click

suspend fun click(selector: String, timeoutMillis: Long = 0)

Clicks the element matching selector after scrolling it into view and waiting for it to exist.

Throws

ErrorCode.SELECTOR_NOT_FOUND if element does not appear before timeout.