wdio-wait-for / browser/alertIsPresent
▸ alertIsPresent(): () => Promise
<boolean
>
A condition for checking an alert on the page
example
browser.waitUntil(alertIsPresent());
fn
A condition that returns a promise representing whether an alert is present.
▸ (): Promise
<boolean
>
A condition for checking an alert on the page
example
browser.waitUntil(alertIsPresent());
Promise
<boolean
>
A condition that returns a promise representing whether an alert is present.