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

Method wait

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

* Waits for a condition to evaluate to a "truthy" value. The condition may be * specified by a Condition, as a custom function, or as any * promise-like thenable. * * For a Condition or function, the wait will repeatedly * evaluate the condition until it returns a trut

(
    condition, // eslint-disable-line
    timeout = undefined, // eslint-disable-line
    message = undefined, // eslint-disable-line
    pollTimeout = undefined, // eslint-disable-line
  )

Source from the content-addressed store, hash-verified

463 * @template T
464 */
465 wait(
466 condition, // eslint-disable-line
467 timeout = undefined, // eslint-disable-line
468 message = undefined, // eslint-disable-line
469 pollTimeout = undefined, // eslint-disable-line
470 ) {}
471
472 /**
473 * Makes the driver sleep for the given amount of time.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected