Closed mdmintz closed 2 months ago
This was resolved in 4.29.7
- https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.29.7
Due to a bug, (#3007), this issue was actually resolved in 4.29.8
- https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.29.8
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 usesb.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 theTAB
key and theSPACEBAR
.