protected function verifyPage()
    {
        $url = $this->getSession()->getCurrentUrl();

        if (strrpos($url, $this->path) !== false) {
            return;
        }

        throw new ExpectationException(
            sprintf(
                '[W401] Expected screen is the wp-admin dashboard, instead on "%1$s".',
                $url
            ),
            $this->getDriver()
        );
    }