Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 992 Bytes

browser_titleis.md

File metadata and controls

51 lines (29 loc) · 992 Bytes

wdio-wait-for / browser/titleIs

Module: browser/titleIs

Table of contents

Functions

Functions

titleIs

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

A condition for checking the title of a page

example browser.waitUntil(titleIs('Dashboard - Main page'));

Parameters

Name Type Description
expectedTitle string The expected title

Returns

fn

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

▸ (): Promise<boolean>

A condition for checking the title of a page

example browser.waitUntil(titleIs('Dashboard - Main page'));

Returns

Promise<boolean>

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

Defined in

browser/titleIs.ts:14