Skip to content

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

@smaouad

Description

@smaouad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions