public function setDriver($driver_name)
	{
		if ( !is_string($driver_name) ) {
			throw new \InvalidArgumentException('The Mink driver name must be a string');
		}

		$this->_driverFactory = $this->_driverFactoryRegistry->get($driver_name);
		$this->_mergedDefaults = self::arrayMergeRecursive($this->defaults, $this->_driverFactory->getDriverDefaults());

		return $this->setParameter('driver', $driver_name);
	}
public function setDriver($driver_name)
	{
		if ( !is_string($driver_name) ) {
			throw new \InvalidArgumentException('The Mink driver name must be a string');
		}

		$this->_driverFactory = $this->_driverFactoryRegistry->get($driver_name);
		$this->_mergedDefaults = self::arrayMergeRecursive($this->defaults, $this->_driverFactory->getDriverDefaults());

		return $this->setParameter('driver', $driver_name);
	}
public function setDriver ( $ driver_name ) { if ( ! is_string ( $ driver_name ) ) { throw new \ InvalidArgumentException ( 'The Mink driver name must be a string' ) ; } $ this -> _driverFactory = $ this -> _driverFactoryRegistry -> get ( $ driver_name ) ; $ this -> _mergedDefaults = self :: arrayMergeRecursive ( $ this -> defaults , $ this -> _driverFactory -> getDriverDefaults ( ) ) ; return $ this -> setParameter ( 'driver' , $ driver_name ) ; }
Sets Mink driver to browser configuration.

@param string $driver_name Mink driver name.

@return self
@throws \InvalidArgumentException When Mink driver name is not a string.
Sets Mink driver to browser configuration .