Commit 83472789 834727891adbc158807c67df23910fa742f41bbe by Nicolas Perriault

fixed #34 - avoid having previously loaded DOM contents being still active on run complete

1 parent 5c3db051
......@@ -202,6 +202,7 @@
} else {
self.result.time = new Date().getTime() - self.startTime;
self.log("Done " + self.steps.length + " steps in " + self.result.time + 'ms.', "info");
self.page.content = ''; // avoid having previously loaded DOM contents being still active (refs #34)
clearInterval(self.checker);
if (isType(onComplete, "function")) {
try {
......