File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,13 +340,13 @@ form that the button lives in::
340
340
341
341
// button example: <button id="my-super-button" type="submit">My super button</button>
342
342
343
- // you can get button my its label
343
+ // you can get button by its label
344
344
$form = $crawler->selectButton('My super button')->form();
345
345
346
- // or by button id (#my-super-button) if button doesn't have a label
346
+ // or by button id (#my-super-button) if the button doesn't have a label
347
347
$form = $crawler->selectButton('my-super-button')->form();
348
348
349
- // or you can filter whole form, for example a form has a class attribute: <form class="form-vertical" method="POST">
349
+ // or you can filter the whole form, for example a form has a class attribute: <form class="form-vertical" method="POST">
350
350
$crawler->filter('.form-vertical')->form();
351
351
352
352
// or "fill" the form fields with data
You can’t perform that action at this time.
0 commit comments