Using Selenium how to delete single characters from a textbox using Selenium?
I have to delete the last 2 characters from text box.
Ex.ABCD to AB
|
Using Selenium how to delete single characters from a textbox using Selenium? I have to delete the last 2 characters from text box. Ex.ABCD to AB |
||||
|
|
|
If you are using Java, try this to delete one character:
|
|||||||||
|
|
While using the ASCII valid (\u008) is valid, there are already defines for this which makes your code more readable, as such:
For a list of the key names, there's some official documentation. |
|||
|
|