After updating Laravel with composer update, Dusk fails with the following error message:
Failed to connect to localhost port 9515 after 0 ms: Could not connect to server
Running Dusk directly with php artisan test -v --bail --group=browser (instead from a Makefile) doesn't work either, unlike described here previously.
The update itself was intended to solve a prior problem when starting Dusk:
session not created: This version of ChromeDriver only supports Chrome version 126
Current browser version is 128.0.6613.85 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
This problem occurred even after updating with php artisan dusk:chrome-driver:
ChromeDriver binary successfully installed for version 128.0.6613.84.
Dusk Version
8.2.4
Laravel Version
11.21.0
PHP Version
8.3.9
PHPUnit Version
10.5.17
Database Driver & Version
No response
Description
After updating Laravel with
composer update
, Dusk fails with the following error message:Running Dusk directly with
php artisan test -v --bail --group=browser
(instead from aMakefile
) doesn't work either, unlike described here previously.The update itself was intended to solve a prior problem when starting Dusk:
This problem occurred even after updating with
php artisan dusk:chrome-driver
:(and after restarting the computer).
Steps To Reproduce
Update Chrome.
Then run:
(Assuming that some test(s) belongs to group "browser".)