public class TargetBuilder<T> extends Object
Constructor and Description |
---|
TargetBuilder(String targetElementName) |
Modifier and Type | Method and Description |
---|---|
TargetBuilder |
inIFrame(IFrame iFrame) |
Target |
located(org.openqa.selenium.By locator) |
Target |
locatedBy(Function<PageObject,List<WebElementFacade>> locationStrategy)
Locate an element using a location strategy function.
|
Target |
locatedBy(String cssOrXPathSelector) |
Target |
locatedByFirstMatching(String... cssOrXPathSelectors) |
LocatesCrossPlatform |
locatedForAndroid(org.openqa.selenium.By androidLocator) |
public TargetBuilder(String targetElementName)
public TargetBuilder inIFrame(IFrame iFrame)
public Target locatedBy(Function<PageObject,List<WebElementFacade>> locationStrategy)
public Target located(org.openqa.selenium.By locator)
public LocatesCrossPlatform locatedForAndroid(org.openqa.selenium.By androidLocator)
Copyright © 2021. All rights reserved.