How do I send a Non-Printing character, eg Ctrl-A, Delete, Backspace, to a Windows 11 control (eg a Richtextbox in my case).
I have found that
- driver.SendKeys() does not clear a Richtextbox before sending the text to the control (like it does for a ‘normal’ Textbox).
- driver.Clear() does not clear a RichTextBox (like it does for a ‘normal’ TextBox).
- driver.SendKeys() takes a string but if you add a non-printing character to the string, eg ‘\u0008’ (Backspace), it gets ignored
Is there anyway that I can get Appium/WinAppDriver to delete the contents of a Windows control ?
Platform Windows
Appium Version 4.4.0
Language C#
OS - Windows 11
Dell LapTop