Class IsImageLoaded


  • @ParametersAreNonnullByDefault
    public class IsImageLoaded
    extends Condition
    • Constructor Detail

      • IsImageLoaded

        public IsImageLoaded()
    • Method Detail

      • apply

        public boolean apply​(Driver driver,
                             org.openqa.selenium.WebElement webElement)
        Description copied from class: Condition
        Check if given element matches this condition.
        Specified by:
        apply in class Condition
        webElement - given WebElement
        Returns:
        true if element matches condition
      • isImage

        public static boolean isImage​(Driver driver,
                                      org.openqa.selenium.WebElement webElement)