Skip to content

Commit 0bcfc3a

Browse files
committed
Fix issue with UC Mode clicking on Windows
1 parent 283c3db commit 0bcfc3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ def _uc_gui_click_captcha(
900900
y = i_y + element.rect["y"] + int(element.rect["height"] / 2)
901901
y += 1
902902
else:
903-
x = i_x + 34
904-
y = i_y + 34
903+
x = (i_x + 34) * width_ratio
904+
y = (i_y + 34) * width_ratio
905905
driver.switch_to.default_content()
906906
except Exception:
907907
try:

0 commit comments

Comments
 (0)