I'm having issues selecting an option in a dropdown menu. I've checked the documentation and I found this :
Here is my code :
$browser
->visit('/my-slug')
//version from the doc ==> not working
->select('Choose your type', 'visitor)
//version with the name attribute ==> not working
->select('User[type]', 'visitor')
;
When I choose the user type there is another form appearing on the screen so I can write my personal infos.
Do you have any idea?
Aucun commentaire:
Enregistrer un commentaire