Skip to main content
Runs a case-sensitive check that a substring is absent from the page body’s HTML, including markup and hidden content. It is the inverse of checkPageContains. The step passes as soon as the substring is absent. timeout waits for matching content to disappear; it does not monitor the page for the entire duration.

Parameters

Shorthand

Text as a single string.

Examples