Module: selenium-webdriverView Sourceclass CommandAlias for webdriver.CommandDescribes a command to be executed by the WebDriverJS framework.new Command(name)ParametersnamestringThe name of this command.Instance MethodsgetName()code »ReturnsstringThis command's name.getParameter(key)code »Returns a named command parameter.ParameterskeystringThe parameter key to look up.ReturnsThe parameter value, or undefined if it has not been set.getParameters()code »ReturnsObject<?, *>The parameters to send with this command.setParameter(name, value)code »Sets a parameter to send with this command.ParametersnamestringThe parameter name.value*The parameter value.Returnswebdriver.CommandA self reference.setParameters(parameters)code »Sets the parameters for this command.ParametersparametersObject<?, *>The command parameters.Returnswebdriver.CommandA self reference.