$page->equals($other)

Compares the page with another $page object and checks if they are the same

  • $other (string | Page)
  • return (boolean)

Alternative to $page->is().