Package com.epam.healenium.service
Class HealingService
- java.lang.Object
-
- com.epam.healenium.service.HealingService
-
public class HealingService extends Object
-
-
Constructor Summary
Constructors Constructor Description HealingService(com.typesafe.config.Config finalizedConfig, org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openqa.selenium.Byconstruct(com.epam.healenium.treecomparing.Node node, Set<SelectorComponent> detailLevel)construct cssSelector by NodevoidfindNewLocations(List<com.epam.healenium.treecomparing.Node> paths, com.epam.healenium.treecomparing.Node destination, Context context)
-
-
-
Method Detail
-
findNewLocations
public void findNewLocations(List<com.epam.healenium.treecomparing.Node> paths, com.epam.healenium.treecomparing.Node destination, Context context)
- Parameters:
destination- the new HTML page source on which we should search for the elementpaths- source path to locatorcontext- context data for healing
-
construct
protected org.openqa.selenium.By construct(com.epam.healenium.treecomparing.Node node, Set<SelectorComponent> detailLevel)construct cssSelector by Node- Parameters:
node- - target nodedetailLevel- - final detail Level collection- Returns:
- target user selector
-
-