From a1bcf5f4b803d69558c382d0fc97162a35b41a94 Mon Sep 17 00:00:00 2001 From: Kristian Klemon Date: Thu, 6 Jun 2024 18:36:38 +0200 Subject: [PATCH] Debugging --- src/penai/render.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/penai/render.py b/src/penai/render.py index eeb5222..293cec5 100644 --- a/src/penai/render.py +++ b/src/penai/render.py @@ -131,6 +131,8 @@ def _render_svg( ), ) + print('bbox', bbox) + # Set the window size to the size of the SVG element, assuming that it is placed at the origin. # We add a small buffer to the window size to account for margins, scrollbars, etc. self.web_driver.set_window_size(bbox.width + 32, bbox.height + 32)