Interview Questions

Selenium WebDriver - How do I clear content of a text box in Selenium 2.0?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - How do I clear content of a text box in Selenium 2.0?

WebElement el = driver.findElement(By.id("ElementID")); el.clear();

(Continued on next question...)

Other Interview Questions