Appearance
I.seePageTitle()
Asserts the title of the current page.
Usage
js
I.seePageTitle(title: string)Parameters
| Parameter | Type | Description |
|---|---|---|
title | string | The expected page title |
Example
js
I.goTo("https://www.wikipedia.org/")
I.seePageTitle("Wikipedia")This example navigates to https://www.wikipedia.org/ and checks that the page title matches "Wikipedia".