Laravel - Browser Tests - The Url Method

The url method should return the path of the URL that represents the page. Dusk will use this URL when navigating to the page in the browser:

    
    /**
     * Get the URL for the page.
     *
     * @return string
     */
    public function url()
    {
        return '/login';
    }