shutDown(res);
} else if ("getLogMessages".equals(cmd)) {
results = "OK," + logMessagesBuffer.toString();
logMessagesBuffer.setLength(0);
} else if (RetrieveLastRemoteControlLogsCommand.ID.equals(cmd)) {
results = new RetrieveLastRemoteControlLogsCommand().execute();
} else if (CaptureEntirePageScreenshotToStringCommand.ID.equals(cmd)) {
results = new CaptureEntirePageScreenshotToStringCommand(values.get(0), sessionId).execute();
} else if("attachFile".equals(cmd)) {
FrameGroupCommandQueueSet queue = FrameGroupCommandQueueSet.getQueueSet(sessionId);
try {