MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / sleep

Method sleep

javascript/selenium-webdriver/lib/webdriver.js:479–479  ·  view source on GitHub ↗

* Makes the driver sleep for the given amount of time. * * @param {number} ms The amount of time, in milliseconds, to sleep. * @return {!Promise } A promise that will be resolved when the sleep has * finished.

(ms)

Source from the content-addressed store, hash-verified

477 * finished.
478 */
479 sleep(ms) {} // eslint-disable-line
480
481 /**
482 * Retrieves the current window handle.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected