src/Traits/WebDriverUtilsTrait.php
public function setConfig()
    {
        $this->config = (require static::prependPackagePath('bootstrap/config.php'))['web-drivers'];

        $this->config = @$this->config[$this->getDriver()][$this->getUserOS()];

        if (!$this->config) {
            throw new \ErrorException("Currently {$this->getDriver()} not supported.");
        }

        return $this;
    }
public function setConfig()
    {
        $this->config = (require static::prependPackagePath('bootstrap/config.php'))['web-drivers'];

        $this->config = @$this->config[$this->getDriver()][$this->getUserOS()];

        if (!$this->config) {
            throw new \ErrorException("Currently {$this->getDriver()} not supported.");
        }

        return $this;
    }
public function setConfig ( ) { $ this -> config = ( require static :: prependPackagePath ( 'bootstrap/config.php' ) ) [ 'web-drivers' ] ; $ this -> config = @ $ this -> config [ $ this -> getDriver ( ) ] [ $ this -> getUserOS ( ) ] ; if ( ! $ this -> config ) { throw new \ ErrorException ( "Currently {$this->getDriver()} not supported." ) ; } return $ this ; }
Set the configuration for web drivers.

@throws \ErrorException

@return $this
Set the configuration for web drivers .