Skip to content

Commit

Permalink
test again
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Jun 13, 2024
1 parent 35e6da2 commit 171494e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ def download_widget_image(self):
time.sleep(3)
self.driver.save_screenshot("widget-01.png")

body = self.driver.find_element(By.CLASS_NAME, 'bands-widget-all')
body.send_keys(Keys.PAGE_DOWN)

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

Expand Down

0 comments on commit 171494e

Please sign in to comment.