consistently get the first cell

Paul Ivanov 13 years ago
parent b75cd967d7
commit 031811225e

@ -3,7 +3,7 @@
//
casper.notebookTest(function () {
this.evaluate(function () {
var cell = IPython.notebook.get_selected_cell();
var cell = IPython.notebook.get_cell(0);
cell.set_text('a=10; print a');
cell.execute();
});

Loading…
Cancel
Save