public class LocatorStrategies extends Object
Constructor and Description |
---|
LocatorStrategies() |
Modifier and Type | Method and Description |
---|---|
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndBy(org.openqa.selenium.By byLocator,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndByIgnoringCase(org.openqa.selenium.By byLocator,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndMatchingCSS(List<String> cssOrXPathLocators,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndMatchingCSS(String cssOrXPathLocator,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndMatchingCSSIgnoringCase(List<String> cssOrXPathLocators,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
containingTextAndMatchingCSSIgnoringCase(String cssOrXPathLocator,
String expectedText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
fieldWithLabel(String labelText) |
static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> |
findNestedElements(Target container,
Target nestedElement) |
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> fieldWithLabel(String labelText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> findNestedElements(Target container, Target nestedElement)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndMatchingCSS(String cssOrXPathLocator, String expectedText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndMatchingCSS(List<String> cssOrXPathLocators, String expectedText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndMatchingCSSIgnoringCase(String cssOrXPathLocator, String expectedText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndMatchingCSSIgnoringCase(List<String> cssOrXPathLocators, String expectedText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndBy(org.openqa.selenium.By byLocator, String expectedText)
public static Function<org.openqa.selenium.SearchContext,List<WebElementFacade>> containingTextAndByIgnoringCase(org.openqa.selenium.By byLocator, String expectedText)
Copyright © 2022. All rights reserved.