code: function executeCommand(executor, command) {
    return toWireValue(command.getParameters()).
        then(function(parameters) {
          command.setParameters(parameters);
          return executor.execute(command);
        });
  }
docs: ////////////////////////////////////////////////////////////////////////////  WebDriver  //////////////////////////////////////////////////////////////////////////// 
  Translates a command to its wire-protocol representation before passing it
  to the given `executor` for execution.
  @param {!command.Executor} executor The executor to use.
  @param {!command.Command} command The command to execute.
  @return {!Promise} A promise that will resolve with the command response.