Skip to content

Issue when bypassing Cloudflare captcha #2670

Answered by mdmintz
OpsecGuy asked this question in Q&A
Discussion options

You must be logged in to vote

It's working fine with the right scripts. Eg:

from seleniumbase import SB

with SB(uc=True, test=True) as sb:
    sb.driver.uc_open_with_reconnect("nopecha.com/demo/turnstile", 3.4)
    if sb.is_element_visible("#example-container0 iframe"):
        sb.switch_to_frame("#example-container0 iframe")
        if not sb.is_element_visible("circle.success-circle"):
            sb.driver.uc_click("span.mark", reconnect_time=3)
            sb.switch_to_frame("#example-container0 iframe")
        sb.switch_to_default_content()

    sb.switch_to_frame("#example-container5 iframe")
    sb.driver.uc_click("span.mark", reconnect_time=2.5)
    sb.switch_to_frame("#example-container5 iframe")
    sb.ass…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mdmintz
Comment options

@OpsecGuy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants