This is an implementation of Browser Testing in Laravel with Laravel Dusk. A blog about this can be found here: Improving App Quality: Exploring Browser Testing with Laravel Dusk | Fajarwz.
composer install
cp .env.example .env
php artisan key:generate
- Create a database and connect it with Laravel with filling the DB name in
DB_DATABASE - Adjust
DB_USERNAME - Adjust
DB_PASSWORD - Adjust
APP_URL
# make sure this is the correct host and port
APP_URL=http://localhost:8000
php artisan migrate
php artisan serve
php artisan dusk