Package Data | |
---|---|
Maintainer Username: | staudenmeir |
Maintainer Contact: | mail@jonas-staudenmeir.de (Jonas Staudenmeir) |
Package Create Date: | 2018-03-19 |
Package Last Update: | 2024-08-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-06 15:04:26 |
Package Statistics | |
---|---|
Total Downloads: | 1,921,686 |
Monthly Downloads: | 24,528 |
Daily Downloads: | 1,064 |
Total Stars: | 127 |
Total Watchers: | 6 |
Total Forks: | 11 |
Total Open Issues: | 0 |
This Artisan command updates your Laravel Dusk ChromeDriver binaries to the latest or specified release.
Supports all versions of Dusk.
composer require --dev staudenmeir/dusk-updater
Users of Laravel 5.4 have to register the new provider in AppServiceProvider::register()
:
if ($this->app->environment('local', 'testing')) {
$this->app->register(\Staudenmeir\DuskUpdater\DuskServiceProvider::class);
}
Download the latest stable ChromeDriver release:
php artisan dusk:update
Let the updater detect the installed Chrome/Chromium version:
php artisan dusk:update --detect
Specify the absolute path to your custom Chrome/Chromium installation (not supported on Windows):
php artisan dusk:update --detect=/usr/bin/google-chrome
Specify the major Chrome/Chromium version manually:
php artisan dusk:update 74
Specify the desired ChromeDriver version manually:
php artisan dusk:update 74.0.3729.6
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.