Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 3ee5b31

Browse files
committed
wrap window.scroll in execute_script
1 parent 6afcab3 commit 3ee5b31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runestone/activecode/test/test_activecode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ def test_history(self):
8282
# """,
8383
# interceptor,
8484
# )
85-
window.scrollTo(0, 0);
85+
self.driver.execute_script("window.scrollTo(0, 0);")
8686
rb.click()
87-
87+
8888
ta = t1.find_element_by_class_name("cm-s-default")
8989
self.assertIsNotNone(ta)
9090
self.driver.execute_script(

0 commit comments

Comments
 (0)