TimeOut Class
Managing time-out
Constructor
Item Index
Methods
Properties
- TIMEOUT_TYPE_ASYNC_SCRIPT static
- TIMEOUT_TYPE_IMPLICIT static
- TIMEOUT_TYPE_PAGE_LOAD static
- TIMEOUT_TYPE_SCRIPT static
Methods
_requestJSON
-
method
-
path
-
[body]
Performs a context dependent JSON request for the current session. The result is parsed for errors.
Returns:
setAsyncScriptTimeOut
-
timeout
Set the amount of time, in milliseconds, that asynchronous scripts are permitted to run before they are aborted and a "Timeout" error is returned to the client.
Parameters:
-
timeout
Number
setImplicitTimeOut
-
timeout
Set the amount of time, in milliseconds, that scripts executed are permitted to run before they are aborted and a "Timeout" error is returned to the client.
Parameters:
-
timeout
Number
setPageLoadTimeOut
-
timeout
Set the amount of time, in milliseconds, that a page is permitted to be loaded before they it is aborted and a "Timeout" error is returned to the client.
Parameters:
-
timeout
Number
setScriptTimeOut
-
timeout
Set the amount of time, in milliseconds, that scripts are permitted to run before they are aborted and a "Timeout" error is returned to the client.
Parameters:
-
timeout
Number
Properties
TIMEOUT_TYPE_IMPLICIT
String
static
Implicit wait timeout. Implicit waits are applied for all requests.