this.values = values;
this.sessionId = sessionId;
}
public String execute() {
final FrameGroupCommandQueueSet queue;
final String response;
LOGGER.debug("Executing '" + id + "' selenium core command on session " + sessionId);
try {
LOGGER.debug("Session " + sessionId + " going to doCommand(" + id + ','+ values.get(0) + ','+ values.get(1) + ")");
queue = FrameGroupCommandQueueSet.getQueueSet(sessionId);
response = queue.doCommand(id, values.get(0), values.get(1));
LOGGER.debug("Got result: " + response + " on session " + sessionId);
return response;
} catch (Exception e) {
LOGGER.error("Exception running '" + id + " 'command on session " + sessionId, e);