Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error on Laravel Dusk Facebook\WebDriver\Exception\SessionNotCreatedException: session not created: Chrome version must be between 70 and 73

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.

like image 889
Eduardo Cruz Avatar asked Jul 28 '20 14:07

Eduardo Cruz


2 Answers

Solved after running php artisan dusk:chrome-driver

like image 120
Eduardo Cruz Avatar answered Oct 21 '22 13:10

Eduardo Cruz


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.

like image 39
darlo Avatar answered Oct 21 '22 12:10

darlo