Added get_cell_text

pull/37/head
Jonathan Frederic 12 years ago
parent ddc2161817
commit 6efa0a4dae

@ -153,6 +153,14 @@ casper.set_cell_text = function(index, text){
}, index, text);
};
// Get the text content of a cell.
casper.get_cell_text = function(index){
return this.evaluate(function (index) {
var cell = IPython.notebook.get_cell(index);
return cell.get_text();
}, index);
};
// Inserts a cell at the bottom of the notebook
// Returns the new cell's index.
casper.insert_cell_at_bottom = function(cell_type){

Loading…
Cancel
Save