From 0bcfc3aaf99e2b4027a1b96cd062098524e2221c Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Wed, 7 Aug 2024 13:02:08 -0400 Subject: [PATCH 1/2] Fix issue with UC Mode clicking on Windows --- seleniumbase/core/browser_launcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index 87ce5e09789..4243975fb4d 100644 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -900,8 +900,8 @@ def _uc_gui_click_captcha( y = i_y + element.rect["y"] + int(element.rect["height"] / 2) y += 1 else: - x = i_x + 34 - y = i_y + 34 + x = (i_x + 34) * width_ratio + y = (i_y + 34) * width_ratio driver.switch_to.default_content() except Exception: try: From 2c21ac93e31d4267922ba80d08ceb621f68e50c7 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Wed, 7 Aug 2024 13:03:03 -0400 Subject: [PATCH 2/2] Version 4.29.8 --- seleniumbase/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index fa692acaa71..d2d7216f068 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.29.7" +__version__ = "4.29.8"