Class HealingService


  • public class HealingService
    extends Object
    • Constructor Detail

      • HealingService

        public HealingService​(com.typesafe.config.Config finalizedConfig,
                              org.openqa.selenium.WebDriver driver)
    • 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 element
        paths - source path to locator
        context - 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 node
        detailLevel - - final detail Level collection
        Returns:
        target user selector