Answers for "to check element enable"

0

to check element enable

if(driver.findElement(By.cssSelector("a > font")).isEnabled())
{ System.out.println("Element is Enable"); 
}else{ System.out.println("Element is Disabled"); }
Posted by: Guest on May-28-2021

Code answers related to "to check element enable"

Browse Popular Code Answers by Language