Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 912 Bytes

logical_not.md

File metadata and controls

49 lines (27 loc) · 912 Bytes

wdio-wait-for / logical/not

Module: logical/not

Table of contents

Functions

Functions

not

not(expectedCondition): () => Promise<boolean>

Negates the result of a promise

example browser.waitUntil(not(alertIsPresent()));

Parameters

Name Type Description
expectedCondition () => Promise<boolean> The function to check

Returns

fn

An expected condition that returns that returns the negated value.

▸ (): Promise<boolean>

Negates the result of a promise

example browser.waitUntil(not(alertIsPresent()));

Returns

Promise<boolean>

An expected condition that returns that returns the negated value.

Defined in

logical/not.ts:12