Skip to content

Commit 9353afc

Browse files
mickaelandrieuxabbuh
authored andcommitted
Moved comment to the right place
1 parent 74ad0eb commit 9353afc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/testing.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,10 @@ expression or a CSS selector, then use the client to click on it. For example::
196196
$link = $crawler
197197
->filter('a:contains("Greet")') // find all links with the text "Greet"
198198
->eq(1) // select the second link in the list
199-
->link() // and click it
199+
->link()
200200
;
201-
201+
202+
// and click it
202203
$crawler = $client->click($link);
203204

204205
Submitting a form is very similar: select a form button, optionally override

0 commit comments

Comments
 (0)