Skip to main content
Runs a case-sensitive substring match against the page body’s HTML, including markup and hidden content. Use assert for a natural-language condition, assertVisually for visible screen content, or the checkElement family to check a specific element.

Parameters

Shorthand

Text as a single string.

Examples