$page->is($other)

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

  • $other (Page)
    Another page object
  • return (boolean)