Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.13 KB

element_invisibilityof.md

File metadata and controls

51 lines (29 loc) · 1.13 KB

wdio-wait-for / element/invisibilityOf

Module: element/invisibilityOf

Table of contents

Functions

Functions

invisibilityOf

invisibilityOf(selectorOrElement): () => Promise<boolean>

A condition for checking the element to be invisible

example browser.waitUntil(invisibilityOf('.header'));

Parameters

Name Type Description
selectorOrElement StringOrElement The selector or element to check

Returns

fn

An expected condition that returns a promise representing whether the element is invisible.

▸ (): Promise<boolean>

A condition for checking the element to be invisible

example browser.waitUntil(invisibilityOf('.header'));

Returns

Promise<boolean>

An expected condition that returns a promise representing whether the element is invisible.

Defined in

element/invisibilityOf.ts:16