Friday, March 18, 2011

Clear contents and input a value webdriver

public void inputValue(WebElement txtbox
 ,String value) throws Exception{ 
txtbox
.sendKeys(Keys.chord(Keys.CONTROL, "a"), value);
}

1 comment:

Anonymous said...

funkyimg.com/u2/860/194/jesus1.jpg

input.clear();