public class LocatorGenerator extends Object
| Constructor and Description |
|---|
LocatorGenerator(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
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 LocatorGenerator(org.openqa.selenium.WebDriver driver)
throws AIMateException
AIMateExceptionpublic 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.