see

Verifies that the given text exists in any element on the current page.

Arguments

Name Type Required Default Description
text string true The expected text.
caseSensitive boolean false true If true, requires the text to match case as well.

Examples

it( "can see text on a page", function() {
    this.visit( "/" )
        .see( "Welcome to Integrated" );
} );