public class LocatorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Locator |
findLocator(Map<String,Locator> platFormLocators,
PlatformType platform,
ApplicationType appType,
WebBrowserType browserType) |
static org.openqa.selenium.WebElement |
findWebElement(org.openqa.selenium.WebDriver appDriver,
Locator locator) |
static List<org.openqa.selenium.WebElement> |
findWebElements(org.openqa.selenium.WebDriver appDriver,
Locator locator) |
static String |
getCssValue(org.openqa.selenium.WebElement webElem,
String cssKey) |
static void |
setPlatformLocatorForNativeApp(Map<String,Locator> platFormLocators,
PlatformType platform,
LocateBy locateBy,
String locatorValue) |
static void |
setPlatformLocatorForWebApp(Map<String,Locator> platFormLocators,
PlatformType platform,
WebBrowserType browserType,
LocateBy locateBy,
String locatorValue) |
public static void setPlatformLocatorForNativeApp(Map<String,Locator> platFormLocators, PlatformType platform, LocateBy locateBy, String locatorValue)
public static void setPlatformLocatorForWebApp(Map<String,Locator> platFormLocators, PlatformType platform, WebBrowserType browserType, LocateBy locateBy, String locatorValue)
public static Locator findLocator(Map<String,Locator> platFormLocators, PlatformType platform, ApplicationType appType, WebBrowserType browserType)
public static org.openqa.selenium.WebElement findWebElement(org.openqa.selenium.WebDriver appDriver,
Locator locator)
public static List<org.openqa.selenium.WebElement> findWebElements(org.openqa.selenium.WebDriver appDriver, Locator locator)
Copyright © 2021. All rights reserved.