Skip to content

Enhancing UC Opening Speed #2536

Answered by mdmintz
lucasmarquex asked this question in Q&A
Feb 23, 2024 · 5 comments · 7 replies
Discussion options

You must be logged in to vote

Hello! You'll find your answer in the driver-specific methods added during UC Mode:

driver.uc_open(url)
driver.uc_open_with_tab(url)
driver.uc_open_with_reconnect(url, reconnect_time=None)
driver.reconnect(timeout)
driver.uc_click(selector)
driver.uc_switch_to_frame(frame)

Use driver.uc_open_with_reconnect(url, reconnect_time) with a short reconnect_time, eg. 0.5 seconds. It's set to around 3 seconds so that there's enough time to get past a Cloudflare verification check before Selenium reconnects to the browser, which makes it detectable.

If you want to open a webpage with no delay at all while using UC Mode, then use driver.default_get(url). That will make you detectable, but it might b…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Comment options

You must be logged in to vote
2 replies
@mdmintz
Comment options

@lucasmarquex
Comment options

Comment options

You must be logged in to vote
3 replies
@mdmintz
Comment options

@lucasmarquex
Comment options

@mdmintz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants