Commit 7a2f3420 7a2f3420208b5a46d977a4a95ee3ad72921a427b by Nicolas Perriault

backport of 83472789 to 0.6 branch - refs #34

1 parent ecf8efe1
...@@ -208,6 +208,7 @@ Casper.prototype = { ...@@ -208,6 +208,7 @@ Casper.prototype = {
208 } else { 208 } else {
209 self.result.time = new Date().getTime() - self.startTime; 209 self.result.time = new Date().getTime() - self.startTime;
210 self.log("Done " + self.steps.length + " steps in " + self.result.time + 'ms.', "info"); 210 self.log("Done " + self.steps.length + " steps in " + self.result.time + 'ms.', "info");
211 self.page.content = ''; // avoid having previously loaded DOM contents being still active (refs #34)
211 clearInterval(self.checker); 212 clearInterval(self.checker);
212 if (utils.isType(onComplete, "function")) { 213 if (utils.isType(onComplete, "function")) {
213 try { 214 try {
......