added log message when opening any url
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -806,6 +806,7 @@ Casper.prototype.open = function open(location, settings) { | ... | @@ -806,6 +806,7 @@ Casper.prototype.open = function open(location, settings) { |
806 | } | 806 | } |
807 | } | 807 | } |
808 | this.emit('open', this.requestUrl, settings); | 808 | this.emit('open', this.requestUrl, settings); |
809 | this.log(f('opening url: %s, HTTP %s', this.requestUrl, settings.method.toUpperCase()), "debug"); | ||
809 | this.page.openUrl(this.requestUrl, { | 810 | this.page.openUrl(this.requestUrl, { |
810 | operation: settings.method, | 811 | operation: settings.method, |
811 | data: settings.data | 812 | data: settings.data | ... | ... |
-
Please register or sign in to post a comment