Skip to content

Commit d355253

Browse files
committed
Try to fix previous commit
1 parent 836ae59 commit d355253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/automated-notebook-run-script.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@ def run_notebook(driver, notebook_area, args):
128128
wait_for_idle_status(driver, current_cell, start_time, args.timeout)
129129

130130

131-
current_cell = current_cell.find_elements(
131+
next_cell = current_cell.find_elements(
132132
By.XPATH,
133133
"following-sibling::div[contains(@class,'jp-Notebook-cell')][1]"
134134
)
135+
current_cell = next_cell[0]
135136

136137
def download_notebook(driver):
137138
"""This function is used to download the notebook currently open."""

0 commit comments

Comments
 (0)