📅  最后修改于: 2022-03-11 14:57:15.344000             🧑  作者: Mango
if(driver.findElement(By.xpath("value"))!= null)
{ System.out.println("Element is Present");
}else{ System.out.println("Element is Absent"); }