src/Console/BootSelenium.php
protected function getWebDriver($driverName)
    {
        $config = $this->getConfig();

        if (empty($config)) {
            $this->warn('No web driver loaded.');

            return '';
        }

        $driver = base_path("vendor/bin/{$this->getFileName()}");

        if (!is_file($driver)) {
            $this->call('selenium:web-driver:download', [
                'driver' => $driverName,
            ]);
        }

        return "-Dwebdriver.{$this->dWebDriver[$driverName]}.driver={$driver}";
    }
protected function getWebDriver($driverName)
    {
        $config = $this->getConfig();

        if (empty($config)) {
            $this->warn('No web driver loaded.');

            return '';
        }

        $driver = base_path("vendor/bin/{$this->getFileName()}");

        if (!is_file($driver)) {
            $this->call('selenium:web-driver:download', [
                'driver' => $driverName,
            ]);
        }

        return "-Dwebdriver.{$this->dWebDriver[$driverName]}.driver={$driver}";
    }
protected function getWebDriver ( $ driverName ) { $ config = $ this -> getConfig ( ) ; if ( empty ( $ config ) ) { $ this -> warn ( 'No web driver loaded.' ) ; return '' ; } $ driver = base_path ( "vendor/bin/{$this->getFileName()}" ) ; if ( ! is_file ( $ driver ) ) { $ this -> call ( 'selenium:web-driver:download' , [ 'driver' => $ driverName , ] ) ; } return "-Dwebdriver.{$this->dWebDriver[$driverName]}.driver={$driver}" ; }
Get web driver full qualified location.

@param $driverName

@return string
Get web driver full qualified location .