Before performing input to the text field, need to clear if previous data available or for modification. You can use a clear method in selenium.
driver.clear();
driver.sendKeys(data);
August 26, 2020
Tags :
Selenium
Subscribe by Email
Follow Updates Articles from This Blog via Email
1 Comments
driver.sendKeys(Keys.CONTROL+"a");
Reply Deletedriver.sendKeys(Keys.DELETE);
driver.sendKeys(data);