src/Binary/ChromeDriver.php
public function getDriverPath($directory)
    {
        $file = "$directory/chromedriver";
        $system = $this->resolver->getSystem();

        if ($system->isWindows()) {
            $file .= '.exe';
        }

        return "webdriver.chrome.driver=$file";
    }
public function getDriverPath($directory)
    {
        $file = "$directory/chromedriver";
        $system = $this->resolver->getSystem();

        if ($system->isWindows()) {
            $file .= '.exe';
        }

        return "webdriver.chrome.driver=$file";
    }
{@inheritdoc}

@param string $directory
@return string