Error when trying to run php artisan dusk
. A Chrome version error happened. I Google the error and took a quick look in a couple of websites including Laracasts and the Dusk Github issues.
Solved after running php artisan dusk:chrome-driver
Hopefully this helps someone else.
I found that my issue was:
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 84
The Fix
I found the fix here https://barryvanveen.nl/blog/61-how-to-fix-common-laravel-dusk-problems
First run:
chromium-browser --version
Then after you find out your version from that run:
php artisan dusk:chrome-driver yourversion
Hope this helps someone else, as I was looking for an answer for a couple hours.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With