public class ByMobileTarget extends SearchableTarget implements HasByLocator
iFrame, targetElementName, timeout
Constructor and Description |
---|
ByMobileTarget(String targetElementName,
org.openqa.selenium.By androidLocator,
org.openqa.selenium.By iosLocator,
Optional<IFrame> iFrame) |
ByMobileTarget(String targetElementName,
org.openqa.selenium.By androidLocator,
org.openqa.selenium.By iosLocator,
Optional<IFrame> iFrame,
Optional<Duration> timeout) |
Modifier and Type | Method and Description |
---|---|
ByMobileTarget |
called(String name) |
String |
getCssOrXPathSelector() |
List<String> |
getCssOrXPathSelectors() |
org.openqa.selenium.By |
getLocator() |
SearchableTarget |
of(String... parameters) |
ListOfWebElementFacades |
resolveAllFor(PageObject page) |
ListOfWebElementFacades |
resolveAllFor(org.openqa.selenium.SearchContext searchContext) |
WebElementFacade |
resolveFor(PageObject page) |
WebElementFacade |
resolveFor(org.openqa.selenium.SearchContext searchContext) |
List<org.openqa.selenium.By> |
selectors(org.openqa.selenium.WebDriver driver) |
Target |
waitingForNoMoreThan(Duration timeout) |
containingText, containingTextIgnoringCase
currentPageVisibleTo, find, getIFrame, getName, inIFrame, inside, inside, isVisibleFor, mapAll, mapFirst, resolveAllFor, resolveFor, the, toString
public ByMobileTarget(String targetElementName, org.openqa.selenium.By androidLocator, org.openqa.selenium.By iosLocator, Optional<IFrame> iFrame)
public WebElementFacade resolveFor(PageObject page)
resolveFor
in interface ResolvableElement
resolveFor
in class Target
public ListOfWebElementFacades resolveAllFor(PageObject page)
resolveAllFor
in interface ResolvableElement
resolveAllFor
in class Target
public WebElementFacade resolveFor(org.openqa.selenium.SearchContext searchContext)
resolveFor
in interface ResolvableElement
public ListOfWebElementFacades resolveAllFor(org.openqa.selenium.SearchContext searchContext)
resolveAllFor
in interface ResolvableElement
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)
public ByMobileTarget called(String name)
public List<String> getCssOrXPathSelectors()
getCssOrXPathSelectors
in class SearchableTarget
public org.openqa.selenium.By getLocator()
getLocator
in interface HasByLocator
Copyright © 2023. All rights reserved.