Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9325c9d

Browse files
committed
Fix "sb.uc_gui_click_captcha()" on Windows
1 parent 83ade41 commit 9325c9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎seleniumbase/core/browser_launcher.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,10 @@ def _uc_gui_click_captcha(
15041504
y += 0.5
15051505
else:
15061506
x = (i_x + 32) * width_ratio
1507-
y = (i_y + 32) * width_ratio
1507+
if not IS_WINDOWS:
1508+
y = (i_y + 32) * width_ratio
1509+
else:
1510+
y = (i_y + 22) * width_ratio
15081511
if driver.is_connected():
15091512
driver.switch_to.default_content()
15101513
except Exception:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /