Skip to content

SeleniumBase just doesn't detect embedded Cloudflare captcha or idk #3592

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

You must be logged in to vote

For the non-standard CAPTCHA, use sb.cdp.gui_click_element(selector)

from seleniumbase import SB

with SB(uc=True) as sb:
    url = "https://ndenthaitingsho.org/ver?uid=44225480847683420&cat=18&red=https%3A//youtu.be/6NTlLxKTMMA&sub=2"
    sb.activate_cdp_mode(url)
    sb.sleep(2)
    sb.cdp.gui_click_element("#check")
    sb.sleep(3)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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