Bug 1387552 - Document pageLoadStrategy in geckodriver README. r?automatedtester draft
authorAndreas Tolfsen <ato@sny.no>
Fri, 04 Aug 2017 20:40:58 +0100
changeset 621401 6f7fe230682086575afa8a82dc2a1a8f9ff9a854
parent 621400 5d66ffe9692000c42222aeea4da65a2c9dc5893f
child 724655 755b1ad868dcd64759e5c863651cd2c17338b3ae
push id72363
push userbmo:ato@sny.no
push dateFri, 04 Aug 2017 19:42:32 +0000
reviewersautomatedtester
bugs1387552
milestone57.0a1
Bug 1387552 - Document pageLoadStrategy in geckodriver README. r?automatedtester MozReview-Commit-ID: 7oR84Hm9njP
testing/geckodriver/README.md
--- a/testing/geckodriver/README.md
+++ b/testing/geckodriver/README.md
@@ -64,29 +64,44 @@ we do not support this platform.
 geckodriver supports a number of
 [WebDriver capabilities](https://w3c.github.io/webdriver/webdriver-spec.html#capabilities):
 
 <table>
  <thead>
   <tr>
    <th>Name
    <th>Type
+   <th>Default
    <th>Description
   </tr>
  </thead>
 
  <tr>
   <td><code>acceptInsecureCerts</code>
   <td>boolean
   <td>Boolean initially set to false,
    indicating the session will not implicitly trust untrusted
    or self-signed TLS certificates on navigation.
  </tr>
 
  <tr>
+  <td><code>pageLoadStrategy</code>
+  <td>string
+  <td>Defines the page load strategy
+   to use for the duration of the session.
+   Setting a page load strategy will cause navigation
+   to be "<code>eager</code>",
+   waiting for the <code>interactive</code> document ready state;
+   "<code>normal</code>" (the default),
+   waiting for the <code>complete</code> ready state;
+   or "<code>none</code>",
+   which will return immediately after starting navigation.
+ </tr>
+
+ <tr>
   <td><code>proxy</code>
   <td><a href=#proxy-object><code>proxy</code></a>&nbsp;object
   <td>Sets browser proxy settings.
  </tr>
 </table>
 
 ### `proxy` object