-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better
Description
Add --uc
option for sbase mkfile NEW_FILE.py
. Eg:
sbase mkfile bypass_cf.py --uc --url=https://gitlab.com/users/sign_in
This is for automatic generation of UC Mode boilerplate scripts.
Sample file output:
from seleniumbase import SB
with SB(uc=True) as sb:
url = "https://gitlab.com/users/sign_in"
sb.uc_open_with_reconnect(url, 4)
sb.uc_gui_click_captcha()
Sample console output:
sbase mkfile bypass_cf.py --uc --url=https://gitlab.com/users/sign_in
--------------------------------------------------
1 from seleniumbase import SB
2
3 with SB(uc=True) as sb:
4 url = "https://gitlab.com/users/sign_in"
5 sb.uc_open_with_reconnect(url, 4)
6 sb.uc_gui_click_captcha()
7
--------------------------------------------------
* Test file: "bypass_cf.py" was created! *
This will save time by automatically generating a boilerplate script for you.
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better