@@ -53,7 +53,7 @@ Interacting with the Page
5353
5454The session gives you access to the page through the ``Session::getPage ``
5555method. This allows you to :doc: `traverse </guides/traversing-pages >` and
56- :doc: `manipulate it </guides/manipulating-pages >`. The next chapters cover
56+ :doc: `manipulate </guides/manipulating-pages >` it . The next chapters cover
5757the page API in depth. Most of what you'll do with Mink will use this object,
5858but you can continue reading to learn more about the Session.
5959
@@ -90,18 +90,16 @@ The session can manipulate cookies available in the browser.
9090
9191 .. note ::
9292
93- With drivers that use a browser - like Selenium2 - you may be restricted
94- to accessing/setting only `HttpOnly cookies `_ because others cannot be
95- accessed through JavaScript.
93+ With drivers that use JavaScript to control the browser - like Sahi -
94+ you may be restricted to accessing/setting all, but `HttpOnly cookies `_ .
9695
9796Status Code Retrieval
9897---------------------
9998
100- The session lets you retrieve the status code of the response:
99+ The session lets you retrieve the HTTP status code of the response:
101100
102101.. code-block :: php
103102
104- // get the response status code:
105103 echo $session->getStatusCode();
106104
107105 Headers Management
@@ -151,7 +149,7 @@ The session allows you to execute or evaluate Javascript.
151149.. code-block :: php
152150
153151 // Execute JS
154- $session->executeScript('document.body.firstChild.innerHtml = "";');
152+ $session->executeScript('document.body.firstChild.innerHTML = "";');
155153
156154 // evaluate JS expression:
157155 echo $session->evaluateScript(
0 commit comments