I have my login screen in app now. Each time the app is launched in screen the mobile number is pre filled with the older text.
I just want to know I have tried: >
I have faced the same issue, but i found one proper solution.
public void clearTextBox(WebElement element) throws Exception { element.click(); element.sendKeys(Keys.CONTROL + "a"); element.sendKeys(Keys.DELETE); }
It will work for sure.