com.tidal.wave.verification.criteria.EnsureElementState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wave Show documentation
Show all versions of wave Show documentation
Automation Code Repository
package com.tidal.wave.verification.criteria;
import com.tidal.wave.verification.conditions.Verification;
import org.openqa.selenium.By;
import java.util.List;
import java.util.function.Supplier;
public class EnsureElementState {
//Class not to be instantiated.
private EnsureElementState() {
}
public static void affirmation(boolean isVisible, boolean isMultiple, List locators, Supplier[] verifications) {
for (Supplier verification : verifications) {
verification.get().verify(isVisible, isMultiple, locators);
}
}
public static void affirmation(boolean isVisible, boolean isMultiple, List locators, Criteria... verifications) {
for (Verification verification : verifications) {
verification.verify(isVisible, isMultiple, locators);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy