Skip to content

SeleniumBase Solves CAPTCHA Once, But Fails on Second Attempt on Login Page #3233

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

You must be logged in to vote

Use the new CDP Mode within UC Mode (with SeleniumBase 4.32.5, or newer if available):

from seleniumbase import SB

with SB(uc=True, test=True) as sb:
    url = "https://agents.moderationinterface.com"
    sb.activate_cdp_mode(url)
    sb.uc_gui_click_captcha()
    sb.sleep(2)
    sb.uc_gui_click_captcha()
    sb.sleep(2)

Replies: 2 comments 6 replies

Comment options

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

@sibghatullah78
Comment options

@sibghatullah78
Comment options

@mdmintz
Comment options

@sibghatullah78
Comment options

Comment options

You must be logged in to vote
1 reply
@sibghatullah78
Comment options

Answer selected by mdmintz
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