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::
340340
341341 // button example: <button id="my-super-button" type="submit">My super button</button>
342342
343- // you can get button my its label
343+ // you can get button by its label
344344 $form = $crawler->selectButton('My super button')->form();
345345
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
347347 $form = $crawler->selectButton('my-super-button')->form();
348348
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">
350350 $crawler->filter('.form-vertical')->form();
351351
352352 // or "fill" the form fields with data
You can’t perform that action at this time.
0 commit comments