We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78254f0 commit 1889e56Copy full SHA for 1889e56
notebook/tests/selenium/utils.py
@@ -32,6 +32,10 @@ def body(self):
32
33
@property
34
def cells(self):
35
+ """Gets all cells once they are visible.
36
+
37
+ """
38
+ wait_for_selector(self.browser, ".cell")
39
return self.browser.find_elements_by_class_name("cell")
40
41
@@ -48,7 +52,9 @@ def remove_safety_check(self):
48
52
49
53
def to_command_mode(self):
50
54
"""Changes us into command mode on currently focused cell
55
51
56
"""
57
58
self.browser.switch_to.active_element.send_keys(Keys.ESCAPE)
59
self.browser.execute_script("return Jupyter.notebook.handle_command_mode("
60
"Jupyter.notebook.get_cell("
0 commit comments