diff --git a/book/testing.rst b/book/testing.rst index 8e1484b894d..7a62022a1f8 100644 --- a/book/testing.rst +++ b/book/testing.rst @@ -494,6 +494,11 @@ force him with the ``followRedirects()`` method:: $client->followRedirects(); +If you pass ``false`` to the ``followRedirects()`` method, the redirects +will no longer be followed:: + + $client->followRedirects(false); + .. index:: single: Tests; Crawler