orchestra/dusk-updater
A Symfony Console updater for Laravel Dusk ChromeDriver binaries. Run vendor/bin/dusk-updater to download the latest or specified Chrome/ChromeDriver version, detect Chrome versions, and auto-update when outdated. Works with all Dusk versions, including outside Laravel.
Install via composer require --dev orchestra/dusk-updater, then run php vendor/bin/dusk-updater detect to verify your current Chrome/ChromeDriver alignment. If outdated, execute php vendor/bin/dusk-updater update to fetch the latest compatible driver into vendor/orchestra/dusk-updater/chromedriver/. This is the minimal on-ramp—ideal for resolving immediate test failures caused by version mismatches after Chrome auto-updates.
php vendor/bin/dusk-updater update as a pre-test step in GitHub Actions, GitLab CI, or local Docker images to ensure driver-browser parity regardless of base image state.php vendor/bin/dusk-updater detect --auto-update in IDE launch configurations or pre-push hooks to catch mismatches before committing tests.update 128) or exact versions (update 128.0.6613.119) to enforce environment-specific driver builds.orchestra/dusk-updater acts as a neutral binary manager outside Laravel’s ecosystem.pkill chromedriver before update, otherwise Dusk continues using the old binary silently.detect that the arm64 binary is installed; pre-v2.1.2 versions used x64 by default. On Windows, the --chrome-dir flag is unsupported—avoid it entirely.http_proxy and https_proxy environment variables, or ensure openssl.cafile is configured in php.ini (the package uses Guzzle and respects these).vendor/orchestra/dusk-updater/chromedriver/chromedriver checksums if tests fail mysteriously after a browser update.How can I help you explore Laravel packages today?