-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
just download the Buster extension
from seleniumbase import SB def solve_recaptcha_with_buster(SB): extension_path = r"C:\Users\path\to_extension\buster_captcha_solver_for_humans-3.1.0-chrome" with SB(uc=True,headless=False,extension_dir=extension_path) as sb: sb.open('https://www.google.com/recaptcha/api2/demo') sb.wait_for_element('iframe[title="reCAPTCHA"]', timeout=10) sb.switch_to_frame('iframe[title="reCAPTCHA"]') try: sb.wait_for_element('#recaptcha-anchor', timeout=5) sb.click('#recaptcha-anchor') print("Clicked reCAPTCHA checkbox") except Exception as e: print(f"Could not click reCAPTCHA checkbox: {e}") sb.switch_to_default_content() sb.switch_to_frame('iframe[title="recaptcha challenge expires in two minutes"]') try: sb.wait_for_element('.help-button-holder', timeout=5) sb.click('.help-button-holder') print("Clicked reCAPTCHA solve button") except Exception as e: print(f"Could not click reCAPTCHA checkbox: {e}") input() solve_recaptcha_with_buster(SB)
@mdmintz the extension .zip size is only 348KB, can be added in the /extensions folder 🥺?
Update:
I saw that the buster solver already was proposed by @gongchandang49 in #2908. I still will keep the discussion to show the example for people finding a way to bypass the reCaptcha v2. (also work in headless mode)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
That's more than 15X the size of the current largest extension, which is disable_csp
at 20KB.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment