Using Codeception with form input array
Posted: 29 Mar 2019 09:02
So I am trying to use Codeception on a form where I have multiple inputs that have a name like such.
I have tried
However Codeception returns
Is it possible in Codeception? If not, is there another way?
Thanks in advance!
Code: Select all
<input type="text" name="flavours[]" >
Code: Select all
$I->fillField('flavors[]', 'Blue Razberry');
Code: Select all
Couldn't fill field "flavors[]","Blue Razberry":
InvalidArgumentException: Unreachable field "" unable to find a field with that name.
Is it possible in Codeception? If not, is there another way?
Thanks in advance!