相关文章推荐
小胡子的松鼠  ·  win10 ...·  2 年前    · 

Github Actions: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) #910

@kyranb

Description

  • Dusk Version: v6.15.1
  • Laravel Version: v8.51.0
  • PHP Version: 7.4
  • Database Driver & Version: MySQL 8
  • Description:

    Using these steps: https://laravel.com/docs/8.x/dusk#running-tests-on-github-actions

    Results in the following error message below.

    Some others have mentioned this issue here:

    https://stackoverflow.com/questions/56278372/dusk-test-for-browser-devtoolsactiveport-file-doesnt-exist

    https://stackoverflow.com/questions/49837939/laravel-dusk-chrome-driver-timeout

    1) Tests\Browser\LoginTest::test_login_page_loads
    Facebook\WebDriver\Exception\UnknownErrorException: unknown error: Chrome failed to start: exited abnormally.
      (unknown error: DevToolsActivePort file doesn't exist)
      (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
    

    Steps To Reproduce:

    Running php artisan dusk in Github actions.