List<WebElement els = driver.findElements(By.xpath("//input[@type='checkbox']"));
for ( WebElement el : els ) {
if ( !el.isSelected() ) {
el.click();
}
}
public Object [][] dp1 () { return new Object [][] { new Object [] { "a" , "b" }, new Obje...
No comments:
Post a Comment