Reputation: 71
On working project, after installation of updates, I get errors with all dusk tests
1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created exception: Chrome version must be >= 60.0.3112.0
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-81-generic x86_64)
I have already reinstalled dusk, updated composer and vagrant... And I have no any ideas how to update that dirver.
I am using macOS Sierra 10.12.1 and vagrant box on localhost. Chrome doesn't installed on the system.
Thanks for any advice..
Upvotes: 3
Views: 1548
Reputation: 1022
Try to install chrome driver for a different version, I had the same issue and this fixed:
php artisan dusk:chrome-driver 74
Upvotes: 0
Reputation: 71
Well... After couple hours of dancing and googling, I installed update on the virtual Ubuntu
sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)
It changed the version of Chrome. After, I changed in my domain name .dev to .test, because Chrome >63+ forces .dev domains to HTTPS via preloaded HSTS.
Upvotes: 4