Add a new CDP Mode example

This commit is contained in:
Michael Mintz 2025-03-06 20:49:55 -05:00
parent 31c0ffaa85
commit e30e30e8f8
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# An example of bypassing 2 consecutive CF CAPTCHAs"""
from seleniumbase import SB
with SB(uc=True, test=True) as sb:
url = "https://sms-man.com/login"
sb.activate_cdp_mode(url)
sb.sleep(2)
sb.uc_gui_click_captcha()
sb.sleep(2)
sb.uc_gui_click_captcha()
sb.sleep(2)