Skip to content

uc_gui_click_cf does not click exactly CF checkbox position #3773

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

You must be logged in to vote

Make sure that the scale-factor is set to 100%, and that fractional scaling is disabled. (You may also need to maximize the window.)


For your 2nd issue, PyAutoGUI can only control one mouse at a time, and it can only click on headed browsers.
(Xvfb gets you around that limitation on headless Linux systems.)


There's also sb.cdp.gui_click_element(selector), which should be used on the element directly above the shadow-root of the Turnstile. Example here: SeleniumBase/examples/cdp_mode/raw_planetmc.py.

Replies: 1 comment 3 replies

Comment options

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

@mdmintz
Comment options

@ngocdangrby
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