Commit b9177adc b9177adc1dfee01ce9eabbe9d4d56c9ca2ab70e0 by Nicolas Perriault

added log message when opening any url

1 parent 4eb262d3
...@@ -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
......