public class LocatorGenerator extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.openqa.selenium.By> |
generateAlternativeLocators(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.By by)
Generates and tests alternative locators based on the usable attributes contained in the
WebElementAttributes returned by getElementAttributes() method.
|
public static List<org.openqa.selenium.By> generateAlternativeLocators(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By by)
driver - Webdriverby - Main by locatorCopyright © 2020. All rights reserved.