I have to test using dusk and I have this tag for 3 times
<div class="form-group">
<input type="email" name="email[]" class="form-control" placeholder="Enter teammate's email">
</div>
<div class="form-group">
<input type="email" name="email[]" class="form-control" placeholder="Enter teammate's email">
</div>
<div class="form-group">
<input type="email" name="email[]" class="form-control" placeholder="Enter teammate's email">
</div>
and I tried these to run it
->type('input[name=email[]]', $userEmail)->type('email[]', $userEmail)->type('input[type=email]', $userEmail)
but not working what is the correct one to type the email ??