symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.91k stars 213 forks source link

Problem with detect driver #601

Closed pawel747 closed 5 months ago

pawel747 commented 11 months ago

Hi

I have a problem with detecting the driver using the command vendor/bin/bdi detect drivers

In the output I only see information about deprecated. I don't see the green bar that said Chromedriver and Browser detected correctly.

Chromedriver version: 115.0.5790.102 Chrome version: 115.0.5790.114

I see an error when running the tests: Facebook\WebDriver\Exception\UnknownErrorException: unknown error: cannot find Chrome binary

Everything worked until the automatic update of the browser.

Please help.

Florian-B commented 10 months ago

I encountered the same problem. As a workaround I installed the previous version of Chromium.

It seems related to https://github.com/dbrekelmans/browser-driver-installer/issues/73

A PR is open https://github.com/dbrekelmans/browser-driver-installer/pull/75 but it doesn't seem to be progressing.

jumaris88 commented 5 months ago

have you tried this? $client = Client::createChromeClient("your_drivers_path/chromedriver.exe");

dunglas commented 5 months ago

Hi,

Closing as it's being handled upstream.