assertOnPage method

Future<void> assertOnPage()

Asserts that the browser is currently on this page.

Verifies that the current URL matches this page's url.

Implementation

Future<void> assertOnPage() async {
  await browser.assertUrlIs(url);
}