Updater for Laravel Dusk ChromeDriver binaries
This Artisan command updates your Laravel Dusk ChromeDriver binaries to the latest or specified release., (*2)
Supports all versions of Dusk., (*3)
composer require --dev staudenmeir/dusk-updater:"^1.1"
Users of Laravel 5.4 have to register the new provider in AppServiceProvider::register()
:, (*4)
if ($this->app->environment('local', 'testing')) { $this->app->register(\Staudenmeir\DuskUpdater\DuskServiceProvider::class); }
Download the latest stable ChromeDriver release:, (*5)
php artisan dusk:update
Let the updater detect the installed Chrome/Chromium version:, (*6)
php artisan dusk:update --detect
Specify the absolute path to your custom Chrome/Chromium installation (not supported on Windows):, (*7)
php artisan dusk:update --detect=/usr/bin/google-chrome
Specify the major Chrome/Chromium version manually:, (*8)
php artisan dusk:update 127
Specify the desired ChromeDriver version manually:, (*9)
php artisan dusk:update 127.0.6533.119
If Dusk is still using the previous version after the update, there is probably an old ChromeDriver process running that you need to terminate first., (*10)
Please see CONTRIBUTING and CODE OF CONDUCT for details., (*11)