-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better
Description
Add method for clicking with an (x,y)-offset in CDP Mode
Here's the method that will be added:
sb.cdp.gui_click_with_offset(selector, x, y, timeframe=0.25, center=False)
Description:
Click an element at an {X,Y}-offset location.
{0,0} is the top-left corner of the element.
If center==True, {0,0} becomes the center of the element.
The timeframe is the time spent moving the mouse.
I'll also add the following method for doing the same thing without PyAutoGUI:
sb.cdp.click_with_offset(selector, x, y, center=False)
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better