Skip to content
Browse files

Bug 25011: Correct definition of script timeout

  • Loading branch information...
1 parent 3888e99 commit 4399d47d2a2d307f70d98ca3c40ece9c911eea81 @AutomatedTester committed Mar 14, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 13_timeouts.html
  2. +1 −1 webdriver-spec.html
View
2 13_timeouts.html
@@ -11,7 +11,7 @@ <h2 id="timeouts">Timeouts</h2>
<li>implicit - Set the amount of time the driver should wait when searching for elements. When searching for a single element, the driver should poll the page until an element is found or the timeout expires, whichever occurs first. When searching for multiple elements, the driver should poll the page until at least one element is found or the timeout expires, at which point it should return an empty list.<br>
If this command is never sent, the driver MUST default to an implicit wait of 0ms.</li>
<li>page load - Set the amount of time the driver should wait before returning when the <a href="#page-load-strategies-1">page load stratgey</a> is not "<code>none</code>". If this limit is exceeded, the <code>get()</code> command MUST return a "<code><a href="#status-timeout">timeout</a></code>" <a>response</a> status.</li>
- <li>script - Set the amount of time the driver should wait when scripts are loading on to the page. </li>
+ <li>script - Set the amount of time the driver should wait after calling <a href='#widl-JavaScriptExecutor-executeAsyncScript-Argument-DOMString-script-sequence-Argument--args'><code>executeAsyncScript</code></a> for the callback to have executed before returning a <code><a href="#status-timeout">timeout</a></code> <a>Response</a>.</li>
</ul>
<dl class='parameters'>
<dt>DOMString type</dt>
View
2 webdriver-spec.html
@@ -1484,7 +1484,7 @@ <h2 id="timeouts">Timeouts</h2>
<li>implicit - Set the amount of time the driver should wait when searching for elements. When searching for a single element, the driver should poll the page until an element is found or the timeout expires, whichever occurs first. When searching for multiple elements, the driver should poll the page until at least one element is found or the timeout expires, at which point it should return an empty list.<br>
If this command is never sent, the driver MUST default to an implicit wait of 0ms.</li>
<li>page load - Set the amount of time the driver should wait before returning when the <a href="#page-load-strategies-1">page load stratgey</a> is not "<code>none</code>". If this limit is exceeded, the <code>get()</code> command MUST return a "<code><a href="#status-timeout">timeout</a></code>" <a>response</a> status.</li>
- <li>script - Set the amount of time the driver should wait when scripts are loading on to the page. </li>
+ <li>script - Set the amount of time the driver should wait after calling <a href='#widl-JavaScriptExecutor-executeAsyncScript-Argument-DOMString-script-sequence-Argument--args'><code>executeAsyncScript</code></a> for the callback to have executed before returning a <code><a href="#status-timeout">timeout</a></code> <a>Response</a>.</li>
</ul>
<dl class='parameters'>
<dt>DOMString type</dt>

0 comments on commit 4399d47

Please sign in to comment.
Something went wrong with that request. Please try again.