Skip to content

Commit

Permalink
Merge pull request #50 from linuxserver/bugfix/screenshot-size
Browse files Browse the repository at this point in the history
Fixes small screenshots on latest chrome version.
  • Loading branch information
GilbN authored Aug 26, 2024
2 parents 93dc5fc + f43598e commit 2818e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,12 +841,12 @@ def setup_driver(self) -> WebDriver:
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--window-size=1920x1080")
chrome_options.add_argument("--disable-extensions")
chrome_options.add_argument("--ignore-certificate-errors")
chrome_options.add_argument("--disable-dev-shm-usage") # https://developers.google.com/web/tools/puppeteer/troubleshooting#tips
driver = webdriver.Chrome(options=chrome_options)
driver.set_page_load_timeout(60)
driver.set_window_size(1920,1080)
return driver

@testing
Expand Down

0 comments on commit 2818e0f

Please sign in to comment.