public class MultiXPathOrCssTarget extends SearchableTarget
iFrame, targetElementName, timeout| Constructor and Description |
|---|
MultiXPathOrCssTarget(String targetElementName,
Optional<IFrame> iFrame,
Optional<Duration> timeout,
String... cssOrXPathSelectors) |
| Modifier and Type | Method and Description |
|---|---|
Target |
called(String name) |
String |
getCssOrXPathSelector() |
List<String> |
getCssOrXPathSelectors() |
SearchableTarget |
of(String... parameters) |
List<WebElementFacade> |
resolveAllFor(PageObject page) |
WebElementFacade |
resolveFor(PageObject page) |
List<org.openqa.selenium.By> |
selectors(org.openqa.selenium.WebDriver driver) |
Target |
waitingForNoMoreThan(Duration timeout) |
containingTextcurrentPageVisibleTo, getIFrame, getName, inside, inside, isVisibleFor, mapAll, mapFirst, resolveAllFor, resolveFor, the, toStringpublic WebElementFacade resolveFor(PageObject page)
resolveFor in class Targetpublic List<WebElementFacade> resolveAllFor(PageObject page)
resolveAllFor in class Targetpublic SearchableTarget of(String... parameters)
public String getCssOrXPathSelector()
getCssOrXPathSelector in class Targetpublic Target waitingForNoMoreThan(Duration timeout)
waitingForNoMoreThan in class Targetpublic List<org.openqa.selenium.By> selectors(org.openqa.selenium.WebDriver driver)
public List<String> getCssOrXPathSelectors()
getCssOrXPathSelectors in class SearchableTargetCopyright © 2021. All rights reserved.