Skip to content

Cloudflare Turnstile not always visible and checked on this particolar site #3891

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

You must be logged in to vote

Since you can't see into closed Shadow-root elements, methods like sb.cdp.gui_click_element(selector) and sb.uc_gui_click_captcha() do their best to click on the CAPTCHA through the Shadow-root, but they can't see inside to know if the CAPTCHA has already been solved or is even there anymore. To force the likelihood of the CAPTCHA not getting solved automatically, you can change your user agent to something fake, eg: agent="cool". That'll likely force the CAPTCHA to not get solved automatically.

If the CAPTCHA is only partially loaded, add more wait time before calling one of the clicking methods. As mentioned above, there's no way to see if the CAPTCHA has finished loading since it's ins…

Replies: 1 comment 1 reply

Comment options

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

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
2 participants