How do I clear the content of a text box in Selenium 2.0?
Hey Jacqueline,
Here is how you can clear the content of text box in Selenium 2.0
WebElement el = driver.findElement(By.id(“ElementID”)); el.clear();
How do I clear the content of a text box in Selenium 2.0?
Hey Jacqueline,
Here is how you can clear the content of text box in Selenium 2.0
WebElement el = driver.findElement(By.id(“ElementID”)); el.clear();