net.serenitybdd.screenplay.targets.SearchableTarget Maven / Gradle / Ivy
package net.serenitybdd.screenplay.targets;
import net.serenitybdd.screenplay.ui.LocatorStrategies;
import org.openqa.selenium.By;
import java.time.Duration;
import java.util.List;
import java.util.Optional;
import static net.serenitybdd.screenplay.ui.LocatorStrategies.containingTextAndMatchingCSS;
import static net.serenitybdd.screenplay.ui.LocatorStrategies.containingTextAndMatchingCSSIgnoringCase;
public abstract class SearchableTarget extends Target {
public SearchableTarget(String targetElementName, Optional