Skip to main content
Asserts a natural-language condition about the current screen. Fails the test when the condition is not met. Use assert for fuzzy or visual conditions; for an exact-text check prefer checkScreenContains, which is deterministic and cheaper. The simplified form takes the condition as a single string.

Parameters

Shorthand

Condition as a single string.

Examples