timeouts

Configure the amount of time that a particular type of operation can execute for before they are aborted and a |Timeout| error is returned to the client.

Usage

1
client.timeouts(type,ms).then(callback);

Parameters

Param Type Details
type String The type of operation to set the timeout for. Valid values are:
- script for script timeouts
- implicit for modifying the implicit wait timeout
- page load for setting a page load timeout.
ms Number The amount of time, in milliseconds, that time-limited commands are permitted to run.