public function post($command, array $params)
	{
		$options = array();
		$options[CURLOPT_POST] = TRUE;

		if ($params) {
			$options[CURLOPT_POSTFIELDS] = json_encode($params);
		}

		return $this->call($command, $options);
	}
public function post($command, array $params)
	{
		$options = array();
		$options[CURLOPT_POST] = TRUE;

		if ($params) {
			$options[CURLOPT_POSTFIELDS] = json_encode($params);
		}

		return $this->call($command, $options);
	}
public function post ( $ command , array $ params ) { $ options = array ( ) ; $ options [ CURLOPT_POST ] = TRUE ; if ( $ params ) { $ options [ CURLOPT_POSTFIELDS ] = json_encode ( $ params ) ; } return $ this -> call ( $ command , $ options ) ; }
Perform a post request to the selenium server
@param  string $command
@param  array  $params
@return mixed
Perform a post request to the selenium server