Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Jun 13, 2024
1 parent 076714b commit 657b09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def download_widget_image(self):
time.sleep(3)
self.driver.save_screenshot("widget-01.png")

self.driver.execute_script("window.scrollTo(0, 2000)")
self.driver.execute_script("window.scrollTo(0, document.body.scrollHeight)")
time.sleep(3)
self.driver.save_screenshot("widget-02.png")

Expand Down

0 comments on commit 657b09b

Please sign in to comment.