Closed
Description
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)