public class ByTarget extends Target
iFrame, targetElementName, timeout
Modifier | Constructor and Description |
---|---|
protected |
ByTarget(String targetElementName,
org.openqa.selenium.By locator,
org.openqa.selenium.By androidLocator,
org.openqa.selenium.By iosLocator,
Optional<IFrame> iFrame,
Optional<Duration> timeout) |
|
ByTarget(String targetElementName,
org.openqa.selenium.By androidLocator,
org.openqa.selenium.By iosLocator,
Optional<IFrame> iFrame) |
|
ByTarget(String targetElementName,
org.openqa.selenium.By androidLocator,
org.openqa.selenium.By iosLocator,
Optional<IFrame> iFrame,
Optional<Duration> timeout) |
|
ByTarget(String targetElementName,
org.openqa.selenium.By locator,
Optional<IFrame> iFrame) |
Modifier and Type | Method and Description |
---|---|
ByTarget |
called(String name) |
String |
getCssOrXPathSelector() |
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) |
currentPageVisibleTo, getIFrame, getName, inside, inside, isVisibleFor, mapAll, mapFirst, resolveAllFor, resolveFor, the, toString
public ByTarget(String targetElementName, org.openqa.selenium.By locator, Optional<IFrame> iFrame)
public ByTarget(String targetElementName, org.openqa.selenium.By androidLocator, org.openqa.selenium.By iosLocator, Optional<IFrame> iFrame)
public ByTarget(String targetElementName, org.openqa.selenium.By androidLocator, org.openqa.selenium.By iosLocator, Optional<IFrame> iFrame, Optional<Duration> timeout)
public WebElementFacade resolveFor(PageObject page)
resolveFor
in class Target
public List<WebElementFacade> resolveAllFor(PageObject page)
resolveAllFor
in class Target
public SearchableTarget of(String... parameters)
public String getCssOrXPathSelector()
getCssOrXPathSelector
in class Target
public Target waitingForNoMoreThan(Duration timeout)
waitingForNoMoreThan
in class Target
public List<org.openqa.selenium.By> selectors(org.openqa.selenium.WebDriver driver)
Copyright © 2021. All rights reserved.