Nearsoft\SeleniumClient\Commands\Command::setUrl PHP Method

setUrl() private method

private setUrl ( )
    private function setUrl()
    {
        $path = Dictionary::$commands[$this->_name]['path'];
        $path = str_replace('{session_id}', $this->_driver->getSessionId(), $path);
        if ($this->_urlParams) {
            foreach ($this->_urlParams as $param_name => $value) {
                $path = str_replace("{{$param_name}}", $value, $path);
            }
        }
        $this->_url = "{$this->_driver->getHubUrl()}/{$path}";
    }