-
|
hello dear sb , with SB(uc=True, headed=True, locale_code="tr") as sb: this consistently solves the captchas without issues. but when i try to check it before solving (because it try to click it even if automatically solved without sb.solve_captcha.) This version sometimes fails —cflare asks for re-verification even though the first code solves it fine. I suspect the cdp.evaluate() call querying the Turnstle token input might be triggering so i wonder what is the safest way to detect whether a captcha is present and/or already solved on the page, without interfering with solve_captcha()? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Even if the CAPTCHA is automatically solved when loading the page, calling from seleniumbase import SB
with SB(uc=True, test=True, guest=True) as sb:
url = "www.planetminecraft.com/account/sign_in/"
sb.activate_cdp_mode(url)
sb.sleep(3)
sb.solve_captcha()
sb.wait_for_element_absent("input[disabled]")
sb.sleep(2) |
Beta Was this translation helpful? Give feedback.
Even if the CAPTCHA is automatically solved when loading the page, calling
solve_captcha()won't hurt. Eg: