host, port2, map.get("threads"), map.get("browserOption"), map.get("browserProcessName"));
}
if ("true".equals(map.get("htmlLog"))) {
String logDir = map.get("htmlLogDir");
if (logDir == null || "default".equals(logDir)) logDir = "";
testRunner.addReport(new Report("html", logDir));
}
if ("true".equals(map.get("tm6Log"))) {
String logDir = map.get("tm6LogDir");
if (logDir == null || "default".equals(logDir)) logDir = "";
testRunner.addReport(new Report("tm6", logDir));
}
if ("true".equals(map.get("junitLog"))) {
String logDir = map.get("junitLogDir");
if (logDir == null || "default".equals(logDir)) logDir = "";
testRunner.addReport(new Report("junit", logDir));
}
if (map.get("initJS") != null) {
testRunner.setInitJS(map.get("initJS"));
}
if (map.get("extraInfo") != null) {