File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ The value returned by the ``request()`` method is an instance of the
6969:doc: `DomCrawler component </components/dom_crawler >`, which allows accessing
7070and traversing HTML elements programmatically.
7171
72+ .. note ::
73+
74+ After making a request, subsequent requests will make the client to
75+ reboot the kernel. This clears the security token, detaches Doctrine
76+ entities, etc. Read more about :ref: `making multiple requests in the same test `.
77+
7278The :method: `Symfony\\ Component\\ BrowserKit\\ AbstractBrowser::jsonRequest ` method,
7379which defines the same arguments as the ``request() `` method, is a shortcut to
7480convert the request parameters into a JSON string and set the needed HTTP headers::
You can’t perform that action at this time.
0 commit comments