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 natural-language conditions; for a substring check use checkScreenContains, which uses a string match instead of AI. The simplified form takes the condition as a single string.

Parameters

Shorthand

Condition as a single string.

Examples