From b1b3e10cf048c0c7bee81c1558d2c09eec59f27a Mon Sep 17 00:00:00 2001 From: yvsvarma Date: Sat, 4 Jan 2025 22:34:22 -0600 Subject: [PATCH] Fix Python example for PrintOptions to address issue #2095 --- examples/python/tests/interactions/test_print_options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/tests/interactions/test_print_options.py b/examples/python/tests/interactions/test_print_options.py index 8027e1a23525..5d40f4d43ecf 100644 --- a/examples/python/tests/interactions/test_print_options.py +++ b/examples/python/tests/interactions/test_print_options.py @@ -23,8 +23,8 @@ def test_range(driver): def test_size(driver): driver.get("https://www.selenium.dev/") print_options = PrintOptions() - print_options.scale = 0.5 ## 0.1 to 2.0`` - assert print_options.scale == 0.5 + print_options.page_height = 27.94 # Use page_width to assign width + assert print_options.page_height == 27.94 def test_margin(driver): driver.get("https://www.selenium.dev/")