Skip to content

checkbox not clicking, it stuck on sb.uc_gui_click_captcha() #3223

@praveenyadav3011

Description

@praveenyadav3011

raw_gui_click.py from example not working, it stuck on

# import sys
# from seleniumbase import SB


# agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/126.0.0.0"
# if "linux" in sys.platform or "win32" in sys.platform:
    # agent = None  # Use the default UserAgent

with SB(uc=True, test=True, rtf=True, agent=agent) as sb:
     url = "https://seleniumbase.io/apps/turnstile"
     sb.activate_cdp_mode(url)
     sb.uc_gui_click_captcha()  # Only if needed
     sb.assert_element('label[for="user_login"]')
     sb.assert_element('input[data-testid*="username"]')
     sb.assert_element('input[data-testid*="password"]')
     sb.set_messenger_theme(location="bottom_center")
     sb.post_message("SeleniumBase wasn't detected!")

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP Modeself-resolvedYou closed/solved the issue on your own

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions