Skip to content

UC Mode method consolidation #2986

Closed
@mdmintz

Description

@mdmintz

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 with PyAutoGUI)
  • uc_gui_click_rc() (G. reCAPTCHA click with PyAutoGUI)

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 Turnstile PyAutoGUI action: TAB + SPACEBAR)
  • uc_gui_handle_rc() (G. reCAPTCHA PyAutoGUI 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.)

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions