API Docs for: 0.2.7
Show:

TimeOut Class

Defined in: lib/timeOut.js:13
Module: System
Parent Module: WebDriver

Managing time-out

Constructor

TimeOut

(
  • driver
)

Defined in lib/timeOut.js:13

Parameters:

Methods

_logMethodCall

(
  • event
)
private

Defined in lib/timeOut.js:73

Logs a method call by an event

Parameters:

_requestJSON

(
  • method
  • path
  • [body]
)
private

Defined in lib/timeOut.js:86

Performs a context dependent JSON request for the current session. The result is parsed for errors.

Parameters:

Returns:

:

setAsyncScriptTimeOut

(
  • timeout
)

Defined in lib/timeOut.js:180

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:

setImplicitTimeOut

(
  • timeout
)

Defined in lib/timeOut.js:206

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:

setPageLoadTimeOut

(
  • timeout
)

Defined in lib/timeOut.js:193

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:

setScriptTimeOut

(
  • timeout
)

Defined in lib/timeOut.js:167

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:

setTimeOut

(
  • timeOutType
  • ms
)

Defined in lib/timeOut.js:117

Set a time-out

Parameters:

setTimeOuts

(
  • timeOuts
)

Defined in lib/timeOut.js:140

Set multiple time-outs at once

Parameters:

Properties

TIMEOUT_TYPE_ASYNC_SCRIPT

String static

Defined in lib/timeOut.js:40

Asynchronous script execution timeout

TIMEOUT_TYPE_IMPLICIT

String static

Defined in lib/timeOut.js:58

Implicit wait timeout. Implicit waits are applied for all requests.

TIMEOUT_TYPE_PAGE_LOAD

String static

Defined in lib/timeOut.js:49

Page load timeout

TIMEOUT_TYPE_SCRIPT

String static

Defined in lib/timeOut.js:31

Synchronous script execution timeout