From da6a6c7c461afab42b8cb65dcdf7cdbaf0436de2 Mon Sep 17 00:00:00 2001 From: Dou Du Date: Tue, 17 Dec 2024 17:14:47 +0200 Subject: [PATCH] retry to the windows size --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 91cee00..a0a33d4 100644 --- a/test/test.py +++ b/test/test.py @@ -17,7 +17,7 @@ def setup_method(self, method): options = Options() cwd = os.getcwd() options.add_argument("--headless") - options.add_argument("--window-size=2000x3000") + options.add_argument("--window-size=1280,1500") options.add_experimental_option("prefs", {"download.default_directory": cwd}) self.driver = webdriver.Chrome(options=options) self.vars = {}