Commit 0047f4ea 0047f4ea225903c0b492dcf94cab3640b752d403 by Nicolas Perriault

added a new 'location.changed' event

1 parent 174c8142
......@@ -1306,6 +1306,7 @@ function createPage(casper) {
casper.options.httpStatusHandlers[resource.status].call(casper, casper, resource);
}
casper.currentUrl = resource.url;
casper.emit('location.changed', resource.url);
}
};
page.onResourceRequested = function(request) {
......