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 {
File downloadedFile = downloadFile(values.get(1));
queue.addTemporaryFile(downloadedFile);