Laravel - Browser Tests - Navigation
The visit
method may be used to navigate to a given URI within your application:
$browser->visit('/login');
You may use the visitRoute
method to navigate to a named route:
$browser->visitRoute('login');
You may navigate "back" and "forward" using the back
and forward
methods:
$browser->back();
$browser->forward();
You may use the refresh
method to refresh the page:
$browser->refresh();