public class XPathOrCssTarget extends Target
Constructor and Description |
---|
XPathOrCssTarget(java.lang.String targetElementName,
java.lang.String cssOrXPathSelector,
java.util.Optional<IFrame> iFrame,
java.util.Optional<java.time.Duration> timeout) |
Modifier and Type | Method and Description |
---|---|
Target |
called(java.lang.String name) |
java.lang.String |
getCssOrXPathSelector() |
Target |
of(java.lang.String... parameters) |
java.util.List<net.serenitybdd.core.pages.WebElementFacade> |
resolveAllFor(net.serenitybdd.screenplay.Actor actor) |
net.serenitybdd.core.pages.WebElementFacade |
resolveFor(net.serenitybdd.screenplay.Actor actor) |
Target |
waitingForNoMoreThan(java.time.Duration timeout) |
public XPathOrCssTarget(java.lang.String targetElementName, java.lang.String cssOrXPathSelector, java.util.Optional<IFrame> iFrame, java.util.Optional<java.time.Duration> timeout)
public net.serenitybdd.core.pages.WebElementFacade resolveFor(net.serenitybdd.screenplay.Actor actor)
resolveFor
in class Target
public java.util.List<net.serenitybdd.core.pages.WebElementFacade> resolveAllFor(net.serenitybdd.screenplay.Actor actor)
resolveAllFor
in class Target
public java.lang.String getCssOrXPathSelector()
getCssOrXPathSelector
in class Target
public Target waitingForNoMoreThan(java.time.Duration timeout)
waitingForNoMoreThan
in class Target