uc_gui_click_cf does not click exactly CF checkbox position #3773
-
Hi, I am trying to run simple script to get traffic information. And I got some problems:
lib version:
here is my code:
Video: screen-capture.24.webm |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. There's also |
Beta Was this translation helpful? Give feedback.
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.