From 8a649a64e7587c688010aa2024fc11f713e7a0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Wed, 15 Oct 2014 17:14:08 +0200 Subject: [PATCH] ensure consistency with the note The note explains that we are selecting form buttons, not forms. Confusion ensues if we say otherwise in the introductory sentence. --- book/testing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book/testing.rst b/book/testing.rst index 19d6443d83d..4a836f6c313 100644 --- a/book/testing.rst +++ b/book/testing.rst @@ -612,7 +612,8 @@ and pass it a ``Link`` object:: Forms ~~~~~ -Just like links, you select forms with the ``selectButton()`` method:: +Forms can be selected using their buttons, which can be selected with the +``selectButton()`` method, just like links:: $buttonCrawlerNode = $crawler->selectButton('submit');