assertOnPage method

Future<void> assertOnPage()

Asserts that the browser is currently on this page.

This method verifies that the current URL matches the page's url.

Implementation

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