* 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
)
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected