installing software has encountered a problem.an error occurred while collecting items to be installed.怎么解决
2017-05-08
//通过tagName定位
List<WebElement> ele=driver.findElements(By.tagName("input"));
for(WebElement we:ele){
if(!we.getAttribute("type").equals("hidden")){//判断如果type不为hidden才输入
we.sendKeys("一加");
}
}
List<WebElement> ele=driver.findElements(By.tagName("input"));
for(WebElement we:ele){
if(!we.getAttribute("type").equals("hidden")){//判断如果type不为hidden才输入
we.sendKeys("一加");
}
}
2017-05-07