From 657b09be1192240e06cffb3d6b8379e3c062f075 Mon Sep 17 00:00:00 2001 From: Dou Du Date: Thu, 13 Jun 2024 10:52:14 +0200 Subject: [PATCH] another test --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 98faf5a..60959df 100644 --- a/test/test.py +++ b/test/test.py @@ -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")