assert_text
Asserts specified text is visible on screen, with exact or substring matching. Supports configurable timeout and fallback for native or web views.
Instructions
Asserts the given text is visible on screen (by-text shorthand for assert_visible). Same oracle ladder + unverifiable handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Simulator UDID | |
| text | Yes | Visible text to assert | |
| bundleId | No | App bundle id for the Maestro fallback (native surface) | |
| contains | No | Substring match for text (default false = exact full-string on native a11y). WebView innerText is always substring. | |
| timeoutMs | No |