wdio-wait-for / browser/titleContains
▸ titleContains(expectedTitle
): () => Promise
<boolean
>
A condition for checking that the title contains a case-sensitive substring
example
browser.waitUntil(titleContains('Dashboard'));
Name | Type | Description |
---|---|---|
expectedTitle |
string |
The expected title |
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'));
Promise
<boolean
>
A condition that returns a promise representing whether browser's title contains.