'laravel dusk insert data into input array
hi im using laravel dusk and i have inputs as array like this ..
<input type='text' name='debits[]' />
<input type='text' name='debits[]' />
how can i add value to the first or second or specific input using the key of the array like
public function create(Browser $browser)
{
$browser
->select('journal_id',1)
->pause(100)
->click('.add-line')
->click('.add-line')
// code here to add 10 to first debits
// code here to add 15 to second debits
;
}
is that possible thanks a lot ..
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
