public class TableElementFinder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static TreeMap<String,List<String>> |
locatorSuffixesMap |
| Constructor and Description |
|---|
TableElementFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addLocatorSuffix(Map<String,List<String>> locatorSuffixesMap,
String key,
String... values) |
static org.openqa.selenium.WebElement |
find(org.openqa.selenium.WebDriver webDriver,
String tableLocator) |
static org.openqa.selenium.WebElement |
findByCol(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
int col,
String content) |
static org.openqa.selenium.WebElement |
findByContent(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content) |
static org.openqa.selenium.WebElement |
findByFooter(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content) |
static org.openqa.selenium.WebElement |
findByHeader(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content) |
static org.openqa.selenium.WebElement |
findByRow(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
int row,
String content) |
protected static List<String> |
parseTableLocator(String tableLocator,
String locationMethod) |
protected static org.openqa.selenium.WebElement |
searchInLocators(org.openqa.selenium.WebDriver webDriver,
List<String> locators,
String content) |
public static org.openqa.selenium.WebElement find(org.openqa.selenium.WebDriver webDriver,
String tableLocator)
public static org.openqa.selenium.WebElement findByContent(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content)
public static org.openqa.selenium.WebElement findByHeader(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content)
public static org.openqa.selenium.WebElement findByFooter(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
String content)
public static org.openqa.selenium.WebElement findByRow(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
int row,
String content)
public static org.openqa.selenium.WebElement findByCol(org.openqa.selenium.WebDriver webDriver,
String tableLocator,
int col,
String content)
protected static void addLocatorSuffix(Map<String,List<String>> locatorSuffixesMap, String key, String... values)
protected static List<String> parseTableLocator(String tableLocator, String locationMethod)
Copyright © 2014. All rights reserved.