Getting "no such session error" while trying to run simultaneously multiple Laravel Dusk tests

Viewed 830

I'm using Laravel Dusk to test an application and I'm would like to run several instances of tests at the same time. I have 2 Laravel projects, each containing tests that are intended to a certain version of the application, which requires separates Chrome instances (the used ChromeDriver version is 2.28)

To do so, I run the php artisan dusk command in each project folder but I'm getting the following error after some time, making both Chrome instances crash :

Facebook\WebDriver\Exception\NoSuchDriverException: no such session
      (Driver info: chromedriver=2.28.455517 (2c6d2707d8ea850c862f04ac066724273981e88f),platform=Mac OS X 10.12.5 x86_64)

Is there a way to run these tests simultaneously in separate Chrome instances?

0 Answers
Related