How to send Ctrl-A, Del in CDP Mode? #3821
Answered
by
mdmintz
LeeMeng2020
asked this question in
Q&A
Answered by
mdmintz
Jun 16, 2025
Replies: 2 comments
|
Methods such as |
0 replies
Answer selected by
mdmintz
|
HI Michael, thanks for the tip. Turns out it was me using sd.cdp.press_keys that was the issue. For some reason, it does not work on this site. Just changing it to sb.cdp.type solved the problem. It does indeed clear out the old text. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Methods such as
sb.cdp.type(selector, text)should automatically clear out text fields before typing in new text.If for some reason that didn't clear out the old text first, use the
PyAutoGUImethods instead.