Uses of Class
com.epam.healenium.PageAwareBy
| Package | Description |
|---|---|
| com.epam.healenium | |
| com.epam.healenium.handlers.proxy | |
| com.epam.healenium.service | |
| com.epam.healenium.service.impl |
-
Uses of PageAwareBy in com.epam.healenium
Methods in com.epam.healenium that return PageAwareBy Modifier and Type Method Description static PageAwareByPageAwareBy. by(String pageName, org.openqa.selenium.By by)Instantiates a page-aware locator.Methods in com.epam.healenium with parameters of type PageAwareBy Modifier and Type Method Description List<com.epam.healenium.treecomparing.Scored<org.openqa.selenium.By>>SelfHealingEngine. findNewLocations(PageAwareBy by, String targetPage)List<com.epam.healenium.treecomparing.Scored<org.openqa.selenium.By>>SelfHealingEngine. findNewLocations(PageAwareBy by, String targetPage, Optional<StackTraceElement> optionalElement)List<List<com.epam.healenium.treecomparing.Node>>SelfHealingEngine. findNodesToHeal(PageAwareBy pageBy, StackTraceElement[] stackTrace)voidSelfHealingEngine. save(PageAwareBy key, StackTraceElement[] stackTrace, List<List<com.epam.healenium.treecomparing.Node>> elementsToSave)voidSelfHealingEngine. savePath(PageAwareBy by, List<org.openqa.selenium.WebElement> webElements)Stores the valid locator state: the element it found and the page.voidSelfHealingEngine. savePath(PageAwareBy by, List<org.openqa.selenium.WebElement> webElements, List<List<com.epam.healenium.treecomparing.Node>> nodesToSave)Stores the valid locator state: the element it found and the page. -
Uses of PageAwareBy in com.epam.healenium.handlers.proxy
Methods in com.epam.healenium.handlers.proxy that return PageAwareBy Modifier and Type Method Description protected PageAwareByBaseHandler. awareBy(org.openqa.selenium.By by)Methods in com.epam.healenium.handlers.proxy with parameters of type PageAwareBy Modifier and Type Method Description protected org.openqa.selenium.WebElementBaseHandler. lookUp(PageAwareBy key)Search target element on a pageprotected org.openqa.selenium.WebElementWebElementProxyHandler. lookUp(PageAwareBy key)protected List<org.openqa.selenium.WebElement>BaseHandler. lookUpElements(PageAwareBy key)Search target elements on a page -
Uses of PageAwareBy in com.epam.healenium.service
Methods in com.epam.healenium.service with parameters of type PageAwareBy Modifier and Type Method Description Optional<org.openqa.selenium.WebElement>HealingService. heal(PageAwareBy pageBy, org.openqa.selenium.NoSuchElementException e)List<org.openqa.selenium.WebElement>HealingService. healElements(PageAwareBy pageBy, StackTraceElement[] stackTrace, org.openqa.selenium.NoSuchElementException e)List<org.openqa.selenium.WebElement>HealingService. saveAndHealElements(PageAwareBy pageBy, List<org.openqa.selenium.WebElement> pageElements, StackTraceElement[] stackTrace) -
Uses of PageAwareBy in com.epam.healenium.service.impl
Methods in com.epam.healenium.service.impl with parameters of type PageAwareBy Modifier and Type Method Description Optional<org.openqa.selenium.WebElement>HealingServiceImpl. heal(PageAwareBy pageBy, org.openqa.selenium.NoSuchElementException ex)List<org.openqa.selenium.WebElement>HealingServiceImpl. healElements(PageAwareBy pageBy, StackTraceElement[] stackTrace, org.openqa.selenium.NoSuchElementException ex)Optional<org.openqa.selenium.By>HealingServiceImpl. healLocators(PageAwareBy pageBy, List<com.epam.healenium.treecomparing.Node> nodes, StackTraceElement[] trace)List<org.openqa.selenium.WebElement>HealingServiceImpl. saveAndHealElements(PageAwareBy pageBy, List<org.openqa.selenium.WebElement> pageElements, StackTraceElement[] stackTrace)