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) {
}
}
this.emit('open', this.requestUrl, settings);
this.log(f('opening url: %s, HTTP %s', this.requestUrl, settings.method.toUpperCase()), "debug");
this.page.openUrl(this.requestUrl, {
operation: settings.method,
data: settings.data
......