Skip to content

Commit

Permalink
retry to the windows size
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Dec 17, 2024
1 parent 2075882 commit da6a6c7
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 @@ -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 = {}
Expand Down

0 comments on commit da6a6c7

Please sign in to comment.