Skip to content

Commit

Permalink
select class test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Jun 13, 2024
1 parent 01ca9e6 commit 35e6da2
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")

body = self.driver.find_element(By.TAG_NAME, 'body')
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)")
Expand Down

0 comments on commit 35e6da2

Please sign in to comment.