Description
UC Mode method consolidation
Currently, there's uc_gui_click_captcha()
, which detects the CAPTCHA, and then calls:
uc_gui_click_cf()
(CF Turnstile click withPyAutoGUI
)uc_gui_click_rc()
(G. reCAPTCHA click withPyAutoGUI
)
And there's also uc_gui_handle_cf()
, which uses PyAutoGUI
to press TAB
and SPACEBAR
to click.
Will add two more methods: uc_gui_handle_captcha()
and uc_gui_handle_rc()
. This will bring us to:
uc_gui_handle_captcha()
, which will auto-detect the CAPTCHA, and then call:
uc_gui_handle_cf()
(CF TurnstilePyAutoGUI
action:TAB
+SPACEBAR
)uc_gui_handle_rc()
(G. reCAPTCHAPyAutoGUI
action:TAB
+SPACEBAR
)
The TAB
key will be pressed until the CAPTCHA becomes the active element for the SPACEBAR
press.
Also note that UC Mode does not currently bypass reCAPTCHA, but we want the methods so that we can do a real comparison between Google reCAPTCHA and Cloudflare Turnstile. UC Mode is currently able to bypass Cloudflare Turnstiles, which means that reCAPTCHA is definitely the stronger of the two CAPTCHAs. (Google is winning the "CAPTCHA Olympics" right now.)