I have been following this info https://laravel.com/docs/10.x/sail#laravel-dusk to get dusk to work with sail.
When I try to run a dusk test with: sail dusk
... I get: Failed to connect to localhost port 9515 after 0 ms: Connection refused
Facebook\WebDriver\Exception\Internal\WebDriverCurlException: Curl error thrown for http POST to /session with params: {"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"args":["--window-size=1920,1080"]}}]},"desiredCapabilities":{"browserName":"chrome","platform":"ANY","chromeOptions":{"args":["--window-size=1920,1080"]}}}
what do you think this is?
I am on a mac, with Firefox as default browser. Nothing of this should matter (right?) since I use sail and are using a dockerized local env.
Make sure you have selenium defined in your docker-compose.yml. If not, follow documentation here: https://laravel.com/docs/10.x/sail#laravel-dusk
Also you need to run "sail dusk" instead of "sail artisan dusk".