How can we clear a text written in a textbox?
Hi Mark,
In order to delete the text written in a textbox, we can use the clear() method.
driver.findElement(By.id("elementLocator")).clear();
How can we clear a text written in a textbox?
Hi Mark,
In order to delete the text written in a textbox, we can use the clear() method.
driver.findElement(By.id("elementLocator")).clear();