Class IsImageLoaded

java.lang.Object
com.codeborne.selenide.Condition
com.codeborne.selenide.conditions.IsImageLoaded

@ParametersAreNonnullByDefault public class IsImageLoaded extends Condition
  • Constructor Details

    • IsImageLoaded

      public IsImageLoaded()
  • Method Details

    • check

      @Nonnull public CheckResult check(Driver driver, org.openqa.selenium.WebElement webElement)
      Description copied from class: Condition
      Check if given element matches this condition
      Overrides:
      check in class Condition
      Parameters:
      driver - selenide driver
      webElement - given WebElement
      Returns:
      CheckResult.Verdict.ACCEPT if element matches condition, or CheckResult.Verdict.REJECT if element doesn't match (and we should keep trying until timeout).
    • isImage

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