*/
// TODO this has to be kept up to date with events and as failover we should update It builds a tree to find the frame we are looking for
// TODO tree also must be kept up to date
private void buildRuntimeTree() {
updateRuntime();
RuntimeInfo rootInfo = findRuntime();
String rootPath = rootInfo.getHtmlFramePath();
root = new RuntimeNode();
root.setFrameName(rootPath);
root.setRuntimeID(rootInfo.getRuntimeID());
List<RuntimeInfo> runtimesInfos = Lists.newArrayList(runtimesList.values());
runtimesInfos.remove(rootInfo);
for (RuntimeInfo runtimeInfo : runtimesInfos) {