This version of ChromeDriver only supports Chrome version 74
Hi! I'm trying to learn how to test laravel and stuck with that error when I running "php artisan dusk"
Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 4.15.0-50-generic x86_64)
Well you can figure out what chromium version you're running when using Laravel Dusk. If you use the binary from the package you can figure it out like so
// For mac
./vendor/laravel/dusk/bin/chromedriver-mac --version
// For linux
./vendor/laravel/dusk/bin/chromedriver-linux --version
If this is the wrong version you can simply run the following command (assuming you have the latest version of Laravel Dusk
// This will download the latest versions of the chrome driver
php artisan dusk:chrome-driver
If you still have problems after that I suggest you to download an version yourself. You can do that from this page: http://chromedriver.chromium.org/downloads After downloading you name it the same as the driver from dusk and move it to that bin directory and you should be good to go!