type

Types a value in to a form field.

Arguments

Name Type Required Default Description
text string true The value to type in the form field.
selectorOrName string true The element selector or name to type the value in to.

Examples

it( "can visit type values in to form fields", function() {
    this.visit( "/contact-us" )
        .type( "James T. Kirk", "name" )
        .type( "james.t.kirk@uss.enterprise", "email" );
} );