8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096c1c0 commit 16db597Copy full SHA for 16db597
components/dom_crawler.rst
@@ -340,10 +340,10 @@ form that the button lives in::
340
341
// button example: <button id="my-super-button" type="submit">My super button</button>
342
343
- // you can get button my its name
+ // you can get button my its label
344
$form = $crawler->selectButton('My super button')->form();
345
346
- // or by button id (#my-super-button) if button doesn't have a name
+ // or by button id (#my-super-button) if button doesn't have a label
347
$form = $crawler->selectButton('my-super-button')->form();
348
349
// or you can filter whole form, for example a form has a class attribute: <form class="form-vertical" method="POST">
0 commit comments