net.serenitybdd.screenplay.targets.TargetBuilder Maven / Gradle / Ivy
package net.serenitybdd.screenplay.targets;
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.core.pages.WebElementFacade;
import net.serenitybdd.screenplay.abilities.BrowseTheWeb;
import org.openqa.selenium.By;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebDriver;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
import static java.util.Optional.empty;
public class TargetBuilder {
private String targetElementName;
private Optional