Skip to content

Commit

Permalink
Update render_and_screenshot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
silasprincipe authored Oct 9, 2024
1 parent a4008ed commit 7add3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/render_and_screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7add3d5

Please sign in to comment.