File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def main():
115115 focused_cell = driver .find_element (
116116 By .CSS_SELECTOR , ".jp-Notebook-cell.jp-mod-selected"
117117 )
118-
118+ print ( focused_cell . text )
119119 editor_divs = focused_cell .find_elements (
120120 By .CSS_SELECTOR , ".jp-InputArea-editor div"
121121 )
@@ -155,12 +155,11 @@ def main():
155155 elif args .driver == "safari" :
156156 print ("Running all cells using Shift+Enter..." )
157157 while True :
158- # Focused cell
159158 focused_cell = driver .find_element (
160159 By .CSS_SELECTOR , ".jp-Notebook-cell.jp-mod-selected"
161160 )
161+ print (focused_cell .text )
162162
163- # Get the cell content text reliably in Safari
164163 editor_divs = focused_cell .find_elements (
165164 By .CSS_SELECTOR , ".jp-InputArea-editor div"
166165 )
You can’t perform that action at this time.
0 commit comments