View Source Improve this doc

timeoutsAsyncScript

Set the amount of time, in milliseconds, that asynchronous scripts executed by /session/:sessionId/execute_async are permitted to run before they are aborted and a |Timeout| error is returned to the client.

Depcrecated! Please use the timeouts command instead.

Usage

1
browser.timeoutsAsyncScript(ms);

Parameters

Param Type Details
ms Number The amount of time, in milliseconds, that time-limited commands are permitted to run.