staudenmeir/dusk-updater

Updater for Laravel Dusk ChromeDriver binaries
2,474,702 124
Install
composer require staudenmeir/dusk-updater
Latest Version:v1.5.1
PHP:^7.1.3|^8.0
License:MIT
Last Updated:Aug 21, 2024
Links: GitHub  ·  Packagist
Maintainer: staudenmeir

Dusk Updater

CI Latest Stable Version Total Downloads License

This Artisan command updates your Laravel Dusk ChromeDriver binaries to the latest or specified release.

Supports all versions of Dusk.

Installation

composer require --dev staudenmeir/dusk-updater:"^1.1"

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);
}

Usage

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 127

Specify the desired ChromeDriver version manually:

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.

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658