Quantcast
Viewing all articles
Browse latest Browse all 6140

"chromedriver" binary not found for Symfony Panther package

I've installed it using this:

composer require --dev dbrekelmans/bdi && vendor/bin/bdi detect drivers

And I tried this:

composer require dbrekelmans/bdi && vendor/bin/bdi detect drivers

And I also tried installing like this:

sudo snap install chromium --devmode

Panther always complains it can't find the driver but it is definitely installed:

at vendor/symfony/panther/src/ProcessManager/ChromeManager.php:92     88▕         if ($binary = (new ExecutableFinder())->find('chromedriver', null, ['./drivers', './vendor/bin'])) {     89▕             return $binary;     90▕         }     91▕➜  92▕         throw new \RuntimeException('"chromedriver" binary not found. Install it using the package manager of your operating system or by running "composer require --dev dbrekelmans/bdi && vendor/bin/bdi detect drivers".');     93▕     }     94▕     95▕     private function getDefaultArguments(): array     96▕     {

When I run vendor/bin/bdi detect drivers I get this:

[OK] chromedriver 123.0.6312.122 installed to drivers/chromedriver

Why can't Panther detect or use the Chrome driver?

Running this on Ubuntu with PHP 8.2. I'm not using a Docker image.


Viewing all articles
Browse latest Browse all 6140

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>