Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to determine correct reconnect time for solving recaptchas in UC mode? #3314

Answered by mdmintz
krzysztofkub asked this question in Q&A
Discussion options

How, I was wondering. How are you finding correct value of reconnect param? In tutorials @mdmintz says to find correct value for site, but in examples there is for example reconnect time 6.111. Are you incrementing by 0.001 and check? For me sometimes I get extra pictures to solve even if I use 20 (sometimes)

You must be logged in to vote

Regular UC Mode is being replaced by CDP Mode.
Before, you had to guess an optimal reconnect_time, which depends on internet connection speed.

Replies: 1 comment 2 replies

Comment options

Regular UC Mode is being replaced by CDP Mode.
Before, you had to guess an optimal reconnect_time, which depends on internet connection speed.

You must be logged in to vote
2 replies
Comment options

but the CDP Mode doesn't have catpcha handler

Comment options

CDP Mode is a subset of UC Mode, so it does have access to UC Mode methods. Eg:

from seleniumbase import SB
with SB(uc=True, test=True, locale_code="en", incognito=True) as sb:
 url = "https://wsform.com/demo/"
 sb.activate_cdp_mode(url)
 sb.scroll_into_view("div.grid")
 sb.uc_gui_click_captcha()
 sb.sleep(1)
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /