UNPKG

wdio-wait-for

Version:

a library of conditions that are useful for end-to-end tests

11 lines (10 loc) 289 B
/** * A condition for checking an alert on the page * * @example * browser.waitUntil(alertIsPresent()); * * @returns {!function} A condition that returns a promise * representing whether an alert is present. */ export declare function alertIsPresent(): () => Promise<boolean>;