public function createBrowserConfiguration(array $config, BrowserTestCase $test_case)
	{
		$aliases = $test_case->getBrowserAliases();
		$config = BrowserConfiguration::resolveAliases($config, $aliases);

		$type = isset($config['type']) ? $config['type'] : 'default';
		unset($config['type']);

		return $this->create($type)->setAliases($aliases)->setup($config);
	}
public function createBrowserConfiguration(array $config, BrowserTestCase $test_case)
	{
		$aliases = $test_case->getBrowserAliases();
		$config = BrowserConfiguration::resolveAliases($config, $aliases);

		$type = isset($config['type']) ? $config['type'] : 'default';
		unset($config['type']);

		return $this->create($type)->setAliases($aliases)->setup($config);
	}
public function createBrowserConfiguration ( array $ config , BrowserTestCase $ test_case ) { $ aliases = $ test_case -> getBrowserAliases ( ) ; $ config = BrowserConfiguration :: resolveAliases ( $ config , $ aliases ) ; $ type = isset ( $ config [ 'type' ] ) ? $ config [ 'type' ] : 'default' ; unset ( $ config [ 'type' ] ) ; return $ this -> create ( $ type ) -> setAliases ( $ aliases ) -> setup ( $ config ) ; }
Returns browser configuration instance.

@param array           $config    Browser.
@param BrowserTestCase $test_case Test case.

@return BrowserConfiguration
Returns browser configuration instance .