Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed May 29, 2024
1 parent 3bc71d2 commit 13d5e4b
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")

element = driver.find_element(By.CLASS_NAME, 'element-Sn')
element = self.driver.find_element(By.CLASS_NAME, 'element-Sn')
element.click()
time.sleep(3)
self.driver.save_screenshot("widget-02.png")
Expand Down

0 comments on commit 13d5e4b

Please sign in to comment.