Update `uc_gui_handle_captcha()`

This commit is contained in:
Michael Mintz 2025-01-09 22:00:58 -05:00
parent 9903899a43
commit 4a24e26832
1 changed files with 3 additions and 0 deletions

View File

@ -1544,6 +1544,9 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
for i in range(10):
pyautogui.hotkey("shift", "tab")
time.sleep(0.027)
if ctype == "g_rc":
if js_utils.get_active_element_css(driver) == "body":
break
tab_count = 0
for i in range(34):
pyautogui.press("\t")