Skip to content

I.seePageTitle()

Asserts the title of the current page.

Usage

js
I.seePageTitle(title: string)

Parameters

ParameterTypeDescription
titlestringThe 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".