From 7add3d57ead60f33e88a540692e0323ce2dab00a Mon Sep 17 00:00:00 2001 From: silasprincipe <53846571+silasprincipe@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:30:29 +0200 Subject: [PATCH] Update render_and_screenshot.py --- .github/scripts/render_and_screenshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/render_and_screenshot.py b/.github/scripts/render_and_screenshot.py index 7eda33d..bbf95d4 100644 --- a/.github/scripts/render_and_screenshot.py +++ b/.github/scripts/render_and_screenshot.py @@ -54,7 +54,7 @@ def capture_screenshot(html_content, output_path): driver.get(f"file://{os.path.abspath('temp.html')}") time.sleep(2) # Allow time for rendering - driver.set_window_size(1200, 2000) + driver.set_window_size(1200, 1000) driver.save_screenshot(output_path) driver.quit() os.remove("temp.html")