src/Console/BootSelenium.php
public function getSeleniumServerQualifiedName()
    {
        $files = opendir($binDirectory = base_path('vendor/bin'));

        while (false !== ($file = readdir($files))) {
            if (str_contains($file, 'selenium') && str_contains($file, $this->argument('serverVersion'))) {
                return $binDirectory.DIRECTORY_SEPARATOR.$file;
            }
        }

        return $this->downloadSelenium();
    }
public function getSeleniumServerQualifiedName()
    {
        $files = opendir($binDirectory = base_path('vendor/bin'));

        while (false !== ($file = readdir($files))) {
            if (str_contains($file, 'selenium') && str_contains($file, $this->argument('serverVersion'))) {
                return $binDirectory.DIRECTORY_SEPARATOR.$file;
            }
        }

        return $this->downloadSelenium();
    }
public function getSeleniumServerQualifiedName ( ) { $ files = opendir ( $ binDirectory = base_path ( 'vendor/bin' ) ) ; while ( false !== ( $ file = readdir ( $ files ) ) ) { if ( str_contains ( $ file , 'selenium' ) && str_contains ( $ file , $ this -> argument ( 'serverVersion' ) ) ) { return $ binDirectory . DIRECTORY_SEPARATOR . $ file ; } } return $ this -> downloadSelenium ( ) ; }
Get selenium server qualified location.

@throws FileNotFoundException

@return string
Get selenium server qualified location .