Skip to content

Commit f617ff8

Browse files
committed
minor #3764 Update testing.rst (NAYZO)
This PR was merged into the 2.3 branch. Discussion ---------- Update testing.rst Commits ------- 804b686 Update testing.rst 9878be6 Update testing.rst 02974c2 Update testing.rst
2 parents 0cb9c3b + 804b686 commit f617ff8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

book/testing.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,11 @@ force him with the ``followRedirects()`` method::
494494

495495
$client->followRedirects();
496496

497+
If you pass ``false`` to the ``followRedirects()`` method, the redirects
498+
will no longer be followed::
499+
500+
$client->followRedirects(false);
501+
497502
.. index::
498503
single: Tests; Crawler
499504

0 commit comments

Comments
 (0)