Laravel - Browser Tests - Checkboxes

To "check" a checkbox input, you may use the check method. Like many other input related methods, a full CSS selector is not required. If a CSS selector match can't be found, Dusk will search for a checkbox with a matching name attribute:

    
    $browser->check('terms');
	

The uncheck method may be used to "uncheck" a checkbox input:

    
    $browser->uncheck('terms');