Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
83472789
...
834727891adbc158807c67df23910fa742f41bbe
authored
2011-12-29 13:08:19 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed #34 - avoid having previously loaded DOM contents being still active on run complete
1 parent
5c3db051
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
lib/casper.js
lib/casper.js
View file @
8347278
...
...
@@ -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
{
...
...
Please
register
or
sign in
to post a comment