Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Aug 20, 2024
1 parent fe292b0 commit e019ce0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ Supports all versions of Laravel Dusk especially those used outside of Laravel i

Download the latest stable ChromeDriver release:

./vendor/bin/dusk-updater update
php vendor/bin/dusk-updater update

You can also specify the major Chrome/Chromium version you are using:

./vendor/bin/dusk-updater update 109
php vendor/bin/dusk-updater update 109

Or you directly specify the desired ChromeDriver version:

./vendor/bin/dusk-updater update 109.0.5414.74
php vendor/bin/dusk-updater update 109.0.5414.74

> 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.
### Checking Chrome Versions

You can check if the installed Chrome and ChromeDriver version using:

./vendor/bin/dusk-updater detect
php vendor/bin/dusk-updater detect

> The command will prompt you to download a new ChromeDriver if it is outdated.
Specify the absolute path to your custom Chrome/Chromium installation (not supported on Windows):

./vendor/bin/dusk-updater detect --chrome-dir=/usr/bin/google-chrome
php vendor/bin/dusk-updater detect --chrome-dir=/usr/bin/google-chrome

Finally, you can also tell the command to automatically download a new version if it is outdated using:

./vendor/bin/dusk-updater detect --auto-update
php vendor/bin/dusk-updater detect --auto-update

0 comments on commit e019ce0

Please sign in to comment.