Public Vars

Back

with-script-timeout (clj)

(source)

macro

(with-script-timeout driver seconds & body)
Execute `body` temporarily setting `driver` to timeout `seconds` for executing JavaScript. Useful for asynchronous scripts.

Examples