symfony / panther

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

Facebook\WebDriver\Exception\InvalidArgumentException: binary is not a Firefox executable #488

Open smaouad opened 2 years ago

smaouad commented 2 years ago

Hi,

I'm trying to execute PantherClient with firefox as this $this->client = static::createPantherClient(['browser' => static::FIREFOX]); in my .env.test file, I did precise the variables

PANTHER_FIREFOX_BINARY='C:\Program Files\Mozilla Firefox\firefox.exe'
PANTHER_GECKO_DRIVER_BINARY="/usr/local/bin/geckodriver"

But still i got the same error over and over Facebook\WebDriver\Exception\InvalidArgumentException: binary is not a Firefox executable Mozilla Firefox 89.0.2 geckodriver 0.29.1

I'm desperate. Any clues please