Skip to content

Detect the Windows scaling factor for UC Mode PyAutoGUI clicks #2998

Closed
@mdmintz

Description

@mdmintz

Detect the Windows scaling factor for UC Mode PyAutoGUI clicks

Currently, the UC Mode docs tells people to set the scaling factor to 100%.
(It's better to auto-detect the scaling factor. I see how to do that now.)

Once complete, this section can be removed:


🛠️ Troubleshooting UC Mode

On Windows, the uc_gui_click_captcha() method requires "Scaling" to be set at "100%". (Note that "100%" may be different from the system's "Recommended" percent, which can be higher depending on your screen resolution and monitor size.)

As an alternative to using the uc_gui_click_captcha() method on Windows, you can use sb.uc_gui_handle_captcha(), which does not require "Scaling" to be set to a specific value. Instead of using the mouse to click a CAPTCHA, sb.uc_gui_handle_captcha() uses a combination of the TAB key and the SPACEBAR.


Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions