Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown error: cannot find Chrome binary #1051

Closed
Kayrah87 opened this issue Aug 1, 2023 · 1 comment
Closed

unknown error: cannot find Chrome binary #1051

Kayrah87 opened this issue Aug 1, 2023 · 1 comment

Comments

@Kayrah87
Copy link

Kayrah87 commented Aug 1, 2023

Dusk Version

7.9.2

Laravel Version

9.52.10

PHP Version

8.2.8

PHPUnit Version

9.6.9

Database Driver & Version

No response

Description

Having updated recently to get the 115 version of Chrome working, I now cannot run any tests. It states that it cannot find the Chrome Binary.

please see output below:

PHPUnit 9.6.9 by Sebastian Bergmann and contributors.

E                                                                   1 / 1 (100%)

Time: 00:00.593, Memory: 26.00 MB

There was 1 error:

1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\UnknownErrorException: unknown error: cannot find Chrome binary

/Users/kay/Work/Repos/TCC/tcc-v2/vendor/php-webdriver/webdriver/lib/Exception/WebDriverException.php:146
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/php-webdriver/webdriver/lib/Remote/HttpCommandExecutor.php:359
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/php-webdriver/webdriver/lib/Remote/RemoteWebDriver.php:129
/Users/kay/Work/Repos/TCC/tcc-v2/tests/DuskTestCase.php:41
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/laravel/dusk/src/Concerns/ProvidesBrowser.php:220
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/laravel/framework/src/Illuminate/Support/helpers.php:247
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/laravel/dusk/src/Concerns/ProvidesBrowser.php:219
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/laravel/dusk/src/Concerns/ProvidesBrowser.php:99
/Users/kay/Work/Repos/TCC/tcc-v2/vendor/laravel/dusk/src/Concerns/ProvidesBrowser.php:67
/Users/kay/Work/Repos/TCC/tcc-v2/tests/Browser/ExampleTest.php:16

This is on a new installation of Dusk

Steps To Reproduce

php artisan dusk:install
php artisan dusk
@crynobone
Copy link
Member

Duplicate of #1046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants