SeleniumBase icon indicating copy to clipboard operation
SeleniumBase copied to clipboard

How to bypass reCAPTCHA

Open adarmawan117 opened this issue 1 year ago • 0 comments

As you said in this page https://seleniumbase.io/help_docs/uc_mode/#here-are-the-driver-specific-methods-added-by-seleniumbase-for-uc-mode-uc-uctrue **

As an ethical hacker / cybersecurity researcher who builds bots that bypass CAPTCHAs for sport, the CAPTCHA service that I personally recommend for keeping bots out is Google's reCAPTCHA:

**

Is there any way to bypass reCAPTCHA. Because i dont see any example on https://seleniumbase.io/.

Thanks

This is my code

def wait_till_search_bar_visible(sb):
    sb.highlight('input[id="q"]', timeout=20)

with SB(
        uc=True,
        incognito=True,
        maximize=True,
        demo=True,
        highlights=6,
        undetectable=True,
) as sb:
    link = 'https://www.lazada.co.id/shop/samsung/'
    sb.open(link)
    wait_till_search_bar_visible(sb)

    sb.click('//a[contains(@href, "All-Products")]')
    # reCAPTCHA visible here

    wait_till_search_bar_visible(sb)

adarmawan117 avatar May 06 '24 09:05 adarmawan117