Answers for "to check element present"

0

to check element present

if(driver.findElement(By.xpath("value"))!= null)
{ System.out.println("Element is Present"); 
}else{ System.out.println("Element is Absent"); }
Posted by: Guest on May-28-2021

Code answers related to "to check element present"

Browse Popular Code Answers by Language