public function getLink($presenterName, $parameters = array())
	{
		$url = new \Nette\Http\UrlScript($this->context->parameters['selenium']['baseUrl']);
		$url->scriptPath = $url->path;
		$appRequest = new \Nette\Application\Request($presenterName, 'GET', Utils::strToArray($parameters));
		return $this->context->router->constructUrl($appRequest, $url);
	}
public function getLink($presenterName, $parameters = array())
	{
		$url = new \Nette\Http\UrlScript($this->context->parameters['selenium']['baseUrl']);
		$url->scriptPath = $url->path;
		$appRequest = new \Nette\Application\Request($presenterName, 'GET', Utils::strToArray($parameters));
		return $this->context->router->constructUrl($appRequest, $url);
	}
public function getLink ( $ presenterName , $ parameters = array ( ) ) { $ url = new \ Nette \ Http \ UrlScript ( $ this -> context -> parameters [ 'selenium' ] [ 'baseUrl' ] ) ; $ url -> scriptPath = $ url -> path ; $ appRequest = new \ Nette \ Application \ Request ( $ presenterName , 'GET' , Utils :: strToArray ( $ parameters ) ) ; return $ this -> context -> router -> constructUrl ( $ appRequest , $ url ) ; }
Creates an URL.

Parameters can be either a PHP array, or a Neon array without brackets.
Ie. Instead of `array('a' => 'b', 'c' => 'd')` you can pass `'a=b,c=d'`.

@param string $presenterName
@param array|string $parameters
Creates an URL .