Skip to content

Commit 4a24e26

Browse files
committedJan 10, 2025
Update uc_gui_handle_captcha()
1 parent 9903899 commit 4a24e26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎seleniumbase/core/browser_launcher.py

+3
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,9 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
15441544
for i in range(10):
15451545
pyautogui.hotkey("shift", "tab")
15461546
time.sleep(0.027)
1547+
if ctype == "g_rc":
1548+
if js_utils.get_active_element_css(driver) == "body":
1549+
break
15471550
tab_count = 0
15481551
for i in range(34):
15491552
pyautogui.press("\t")

0 commit comments

Comments
 (0)
Please sign in to comment.