Using Codeception with form input array

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Archer614
Posts: 1
Joined: 29 Mar 2019 08:59

Using Codeception with form input array

Post by Archer614 » 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.

Code: Select all

<input type="text" name="flavours[]" >
I have tried

Code: Select all

$I->fillField('flavors[]', 'Blue Razberry');
However Codeception returns

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!

Post Reply