Closed pro-pintuyadav closed 4 years ago
"WARNING: Augmenter should be applied to the instances of @Augmentable.... " is not an Error, just extra level of logging and do not affect healing. In healenium-example healing capabilities is tested on page with predefined base state and changed states on next iterations. Just to verify that healing works correctly in case of web pages changes.
Hi Team,
I mirrored "healenium-example" project and ran "testButtonClickWithFindByAnnotationPage()" test case with heal-enabled = true setting. Getting below logs: Session ID: c268005e72aca1c8564a3bf301a6ff97 *** Element info: {Using=xpath, value=//button[contains(@class,'default-btn')]} Trying to heal... 2020-02-10 05:02:03,062 [main] WARN com.epam.healenium.SelfHealingProxyInvocationHandler - Using healed locator: By.cssSelector: button#id-1 2020-02-10 05:02:03,062 [main] WARN com.epam.healenium.SelfHealingProxyInvocationHandler - Other choice: By.cssSelector: html > body > div > div > div > div > div > div:nth-child(1) 2020-02-10 05:02:03,062 [main] WARN com.epam.healenium.SelfHealingProxyInvocationHandler - Other choice: By.cssSelector: html > body > div > div > div > div > div > div:nth-child(1) > div Feb 10, 2020 5:02:03 AM org.openqa.selenium.remote.Augmenter extractRemoteWebDriver WARNING: Augmenter should be applied to the instances of @Augmentable classes or previously augmented instances only (instance class was: class org.openqa.selenium.chrome.ChromeDriver)
Note: "{Using=xpath, value=//button[contains(@class,'default-btn')]}" already present in page. How this project is working. Please help.