Issue solving cloudflare captcha #4490
Answered
by
mdmintz
sebastian-hermix
asked this question in
Q&A
Answered by
mdmintz
Sep 2, 2026
Replies: 1 comment
|
Looks like you're using a really old version of SeleniumBase. Latest is Also, you're using UC Mode without CDP Mode. For top stealth, activate CDP Mode from UC Mode by calling The new CAPTCHA-clicking method is Here's the updated file: from seleniumbase import SB
with SB(uc=True, headless=True) as sb:
sb.activate_cdp_mode()
sb.goto("https://core.particle.network/cloudflare.html")
sb.sleep(1)
sb.solve_captcha()
sb.sleep(2)
sb.save_screenshot("page_after_click.png")
html_content = sb.get_page_source()
print(html_content)Here's a Dockerfile that includes a stealthy fingerprint: |
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Looks like you're using a really old version of SeleniumBase. Latest is
4.53.5.Also, you're using UC Mode without CDP Mode. For top stealth, activate CDP Mode from UC Mode by calling
sb.activate_cdp_mode(), or it's also automatic if you just callsb.goto(url)from UC Mode.The new CAPTCHA-clicking method is
sb.solve_captcha(). It uses CDP instead of PyAutoGUI.Here's the updated file: