Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 880 Bytes

browser_alertispresent.md

File metadata and controls

45 lines (25 loc) · 880 Bytes

wdio-wait-for / browser/alertIsPresent

Module: browser/alertIsPresent

Table of contents

Functions

Functions

alertIsPresent

alertIsPresent(): () => Promise<boolean>

A condition for checking an alert on the page

example browser.waitUntil(alertIsPresent());

Returns

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());

Returns

Promise<boolean>

A condition that returns a promise representing whether an alert is present.

Defined in

browser/alertIsPresent.ts:13