Skip to content

Commit 36e3508

Browse files
uikolasweaverryan
authored andcommitted
Small mistype edits
1 parent 16db597 commit 36e3508

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dom_crawler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)