Web Browser Automation

Using the app:install Artisan command you can install the console-dusk component:

php <your-app-name> app:install console-dusk

The Console Dusk allows the usage of Laravel Dusk in Artisan commands. Horever, in Laravel Zero you can use Laravel Dusk for web tasks that should be automated. Let's take a look at the usage:

class VisitLaravelZeroCommand extends Command
     * Execute the console command.
     * @return mixed
    public function handle()
        $this->browse(function ($browser) {

Output example:

Get more details: https://github.com/nunomaduro/laravel-console-dusk.