selenium element is visible code example
Example: to check visible in selenium
if(driver.findElement(By.cssSelector("a > font")).isDisplayed())
{ System.out.println("Element is Visible"); }
else{ System.out.println("Element is InVisible"); }
if(driver.findElement(By.cssSelector("a > font")).isDisplayed())
{ System.out.println("Element is Visible"); }
else{ System.out.println("Element is InVisible"); }