Laravel Dusk was one of the new features introduced in Laravel 5.4. Dusk is a tool for application testing.
Dusk will run tests in a browser while
PHPUnit is making HTTP requests.
Tutorial on Laravel : https://laravel.com/docs/5.4/dusk
composer require --dev laravel/dusk
php artisan dusk:install
This will create the folder
/tests/Browser in the folder’s application.