I try to fill a date
input with Laravel Dusk with this code:
$browser->type('cooked_at', (new Carbon())->format('Y-m-d'));
// ...
But I get this error:
Element must be user-editable in order to clear it
Every other input fields are OK. Just the one with type date
fails.
How can I fill a date input with Laravel Dusk?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2Df5Tpq
via IFTTT
Aucun commentaire:
Enregistrer un commentaire