Wait for text to appear
- CLI
- Python SDK
- Go SDK
--exact for a case-sensitive exact match. A timeout returns exit
status 5.Wait for text to disappear
- CLI
- Python SDK
- Go SDK
ActionTimeoutError (also a built-in TimeoutError) and Go returns an error that
mobile.IsActionTimeout matches. Any locator works here, including a
description: driver.locator(query="the order confirmation").wait_for().
Wait for a custom condition
For a condition a locator can’t express, observe the screen in a loop:- Python SDK
- Go SDK
Locator.waitFor call, so they
continue as soon as the screen is ready. The custom loop calls Screen.observe
each time. Neither is a REST operation.
Next steps
Find
Point at text or a described target.
Errors
Recover from timeouts and other control failures.