Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.08 KB

browser_titlecontains.md

File metadata and controls

51 lines (29 loc) · 1.08 KB

wdio-wait-for / browser/titleContains

Module: browser/titleContains

Table of contents

Functions

Functions

titleContains

titleContains(expectedTitle): () => Promise<boolean>

A condition for checking that the title contains a case-sensitive substring

example browser.waitUntil(titleContains('Dashboard'));

Parameters

Name Type Description
expectedTitle string The expected title

Returns

fn

A condition that returns a promise representing whether browser's title contains.

▸ (): Promise<boolean>

A condition for checking that the title contains a case-sensitive substring

example browser.waitUntil(titleContains('Dashboard'));

Returns

Promise<boolean>

A condition that returns a promise representing whether browser's title contains.

Defined in

browser/titleContains.ts:14