📅  最后修改于: 2022-03-11 14:57:20.879000             🧑  作者: Mango
if(driver.findElement(By.cssSelector("a > font")).isEnabled())
{ System.out.println("Element is Enable");
else{ System.out.println("Element is Disabled"); }