{{ message }}
-
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Mar 31, 2026
Replies: 1 comment 1 reply
-
|
There's sb.cdp.gui_press_key(key)
sb.cdp.gui_press_keys(keys)
sb.cdp.gui_write(text)
sb.cdp.gui_click_x_y(x, y, timeframe=0.25)
sb.cdp.gui_click_element(selector, timeframe=0.25)
sb.cdp.gui_click_with_offset(selector, x, y, timeframe=0.25, center=False)
sb.cdp.gui_click_captcha()
sb.cdp.gui_drag_drop_points(x1, y1, x2, y2, timeframe=0.35)
sb.cdp.gui_drag_and_drop(drag_selector, drop_selector, timeframe=0.35)
sb.cdp.gui_click_and_hold(selector, timeframe=0.35)
sb.cdp.gui_hover_x_y(x, y)
sb.cdp.gui_hover_element(selector)
sb.cdp.gui_hover_and_click(hover_selector, click_selector)From Stealthy Playwright Mode, you could also try Playwright methods if they have something for that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kijresil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

There's
PyAutoGUI, which can control the mouse and the keyboard. (https://github.com/asweigart/pyautogui)There are several built-in methods that use that in CDP Mode: