Added line to dump page html casperjs

Jonathan Frederic 13 years ago committed by Jonathan Frederic
parent 926c93eb84
commit c7362cb524

@ -13,6 +13,9 @@ casper.get_notebook_server = function () {
casper.open_new_notebook = function () {
var baseUrl = this.get_notebook_server();
this.start(baseUrl);
this.then(function () {
console.log(this.getHTML());
});
this.thenClick('button#new_notebook');
this.waitForPopup('');

Loading…
Cancel
Save