public function verifyRoute(): void
    {
        $this->context->waitUntil($this->defaultTimeout, function () {
            return false !== strpos($this->context->getSession()->getCurrentUrl(), $this->route);
        });
    }
public function verifyRoute(): void
    {
        $this->context->waitUntil($this->defaultTimeout, function () {
            return false !== strpos($this->context->getSession()->getCurrentUrl(), $this->route);
        });
    }
public function verifyRoute ( ) : void { $ this -> context -> waitUntil ( $ this -> defaultTimeout , function ( ) { return false !== strpos ( $ this -> context -> getSession ( ) -> getCurrentUrl ( ) , $ this -> route ) ; } ) ; }
Verifies that Page is available under correct route.
Verifies that Page is available under correct route .