check

Checks a checkbox in the current page.

Arguments

Name Type Required Default Description
selectorOrName string true The selector or name of the checkbox to check.

Examples

it( "can check a checkbox", function() {
    this.visit( "/login" )
        .check( "remember_me" );
} );