Closed agonyz closed 2 years ago
I'm also able to start the chromedriver via console like this:
./chromedriver
Still get this error when I try to use it with symfony panther:
unknown error: cannot find Chrome binary
Got it working in my container via redownloading the google chrome browser. After that I made some adjustments to the Client:
$client = Client::createChromeClient(
__DIR__.'/../../drivers/chromedriver',
[
'--no-sandbox',
'--headless',
],
);
Configuration
Error
I get the following error when I try to use Symfony Panther:
I tried using it the following ways:
1. Via Composer require
I get the following warnings in the console:
2. Via manual download
I downloaded the chromedriver from here: https://sites.google.com/chromium.org/driver/ Made a "drivers" - directory in my project root
Then tried to get it via DIR and $projectDir - Both did not work:
Has someone an idea I could try to get panther to work? :)