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

Add an official example for clicking at custom CAPTCHA coordinates #3949

Closed
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP Mode testsThis involves test updates or new tests
@mdmintz

Description

Add an official example for clicking at custom CAPTCHA coordinates.


Sometimes the Cloudflare Turnstile checkbox is not at the default location, and therefore it may be necessary to supply custom coordinates for clicking on the checkbox. There should be an official example for this.

That custom clicking code may look something like this:

 element_rect = sb.cdp.get_gui_element_rect(selector, timeout=1)
 x = element_rect["x"] + 32
 y = element_rect["y"] + 44
 sb.cdp.gui_click_x_y(x, y)

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP Mode testsThis involves test updates or new tests

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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