ElementWait
Wait builder returned by App.await / Screen.await / Element.await. Every wait but count polls on the device in a single RPC; count polls from the host with delay-based polling, so test-root cancellation and sibling failure cancel it promptly.
All terminal methods are suspend and require an owning scope (tapScope/tapTest).
Functions
Waits until no match exists. A timeout's reason is WaitReason.STILL_PRESENT, with the count.
Waits until exactly one match exists — what a mutation such as tap() needs — and returns the lazy element. A timeout's WaitTimeoutException.reason is WaitReason.NO_MATCH or WaitReason.AMBIGUOUS with WaitTimeoutException.matchCount from the last poll.
until(text(part, MatchMode.CONTAINS)): the raw accessibility text contains part (non-empty).
until(text(expected)): the raw accessibility text equals expected.
Waits until at least one match exists; returns the lazy element. A timeout's WaitTimeoutException.reason is WaitReason.NO_MATCH.