wdio-wait-for / logical/not
▸ not(expectedCondition
): () => Promise
<boolean
>
Negates the result of a promise
example
browser.waitUntil(not(alertIsPresent()));
Name | Type | Description |
---|---|---|
expectedCondition |
() => Promise <boolean > |
The function to check |
fn
An expected condition that returns that returns the negated value.
▸ (): Promise
<boolean
>
Negates the result of a promise
example
browser.waitUntil(not(alertIsPresent()));
Promise
<boolean
>
An expected condition that returns that returns the negated value.