It's been a busy month of changes to existing CAPTCHA systems (eg. Cloudflare). Lots of UC Mode example tests in the SeleniumBase/examples folder are still using uc_click() for clicking a Turnstile checkbox, when really uc_gui_handle_cf() is needed now (with the pyautogui enhancements) when clicking the checkbox is required (generally only on Linux, because UC Mode for the most part bypasses the need to click those checkboxes on macOS and Windows).
Sometime in the past year, the test-only Cloudflare CAPTCHA returned a "Success" regardless of whether a bot was detected. Looks like this (with the "Testing only." written on it):
In the updated description:
And I used that here:
So although those test CAPTCHAs won't ever return a failure anymore, I can still have the tests (that go to that page) demonstrate how to click it properly when the click is needed. That involves using sb.uc_gui_handle_cf() now. A bunch of example tests need updates for that. Note that I already have some tests that go to real websites with real Cloudflare CAPTCHAs. And I also created a bunch of websites that use the Brotector CAPTCHA that I designed, which detects bots well:
Lots of UC Mode examples still need to be updated
It's been a busy month of changes to existing CAPTCHA systems (eg. Cloudflare). Lots of UC Mode example tests in the SeleniumBase/examples folder are still using
uc_click()
for clicking a Turnstile checkbox, when reallyuc_gui_handle_cf()
is needed now (with thepyautogui
enhancements) when clicking the checkbox is required (generally only on Linux, because UC Mode for the most part bypasses the need to click those checkboxes on macOS and Windows).Sometime in the past year, the test-only Cloudflare CAPTCHA returned a "Success" regardless of whether a bot was detected. Looks like this (with the
"Testing only."
written on it):In the updated description:
And I used that here:
So although those test CAPTCHAs won't ever return a failure anymore, I can still have the tests (that go to that page) demonstrate how to click it properly when the click is needed. That involves using
sb.uc_gui_handle_cf()
now. A bunch of example tests need updates for that. Note that I already have some tests that go to real websites with real Cloudflare CAPTCHAs. And I also created a bunch of websites that use the Brotector CAPTCHA that I designed, which detects bots well:Tests for those have already been added in
4.28.0
.Time to patch up the remaining example tests...