Skip to content

Add UC Mode driver methods directly into the SB API #2684

Closed
@mdmintz

Description

@mdmintz

Add UC Mode driver methods directly into the SB API

Currently, they can be accessed like this:

sb.driver.uc_open(url)
sb.driver.uc_open_with_tab(url)
sb.driver.uc_open_with_reconnect(url, reconnect_time=None)
sb.driver.reconnect(timeout)
sb.driver.disconnect()
sb.driver.connect()
sb.driver.uc_click(
    selector, by="css selector",
    timeout=settings.SMALL_TIMEOUT, reconnect_time=None)
sb.driver.uc_switch_to_frame(frame, reconnect_time=None)

After this ticket is complete, this should also work:

sb.uc_open(url)
sb.uc_open_with_tab(url)
sb.uc_open_with_reconnect(url, reconnect_time=None)
sb.reconnect(timeout)
sb.disconnect()
sb.connect()
sb.uc_click(
    selector, by="css selector",
    timeout=settings.SMALL_TIMEOUT, reconnect_time=None)
sb.uc_switch_to_frame(frame, reconnect_time=None)

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions