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: >
driver.findElement(By.name("Mobile Number")).clear();
this works for me. I am using find element by id and then calling clear.
wd.findElement(By.id("username")).clear();
This clears the pre-entered data in the field user name in my case.