{"id":25776691,"url":"https://github.com/healenium/healenium-web","last_synced_at":"2026-03-11T13:43:38.798Z","repository":{"id":37270176,"uuid":"216515168","full_name":"healenium/healenium-web","owner":"healenium","description":"Self-healing library for Selenium Web-based tests","archived":false,"fork":false,"pushed_at":"2026-01-21T22:24:54.000Z","size":532,"stargazers_count":197,"open_issues_count":35,"forks_count":44,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-01-22T11:44:48.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/healenium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-21T08:23:28.000Z","updated_at":"2026-01-21T22:24:58.000Z","dependencies_parsed_at":"2024-02-08T12:29:10.271Z","dependency_job_id":"3780f7a3-ce2c-4c69-8e95-410ebb6d319a","html_url":"https://github.com/healenium/healenium-web","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/healenium/healenium-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healenium%2Fhealenium-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healenium%2Fhealenium-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healenium%2Fhealenium-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healenium%2Fhealenium-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healenium","download_url":"https://codeload.github.com/healenium/healenium-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healenium%2Fhealenium-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-27T06:01:29.034Z","updated_at":"2026-03-11T13:43:38.791Z","avatar_url":"https://github.com/healenium.png","language":"Java","funding_links":[],"categories":["测试"],"sub_categories":[],"readme":"# healenium-web\nSelf-healing library for Selenium Web-based tests\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.epam.healenium/healenium-web.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.epam.healenium%22%20AND%20a:%22healenium-web%22)\n [![@healenium](https://img.shields.io/badge/Telegram-%40healenium-orange.svg)](https://t.me/healenium)\u003cbr /\u003e\n⇧ Join us! ⇧\n## How to start\n\n### 0. Start hlm-backend by [instruction](https://github.com/healenium/healenium-backend)\n\n### 0.1 Add dependency\n\nfor Gradle projects:\n``` \ndependencies {\n    compile group: 'com.epam.healenium', name: 'healenium-web', version: '3.5.8'\n}\n```\n\nfor Maven projects:\n``` \n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.epam.healenium\u003c/groupId\u003e\n\t\u003cartifactId\u003ehealenium-web\u003c/artifactId\u003e\n\t\u003cversion\u003e3.5.8\u003c/version\u003e\n\u003c/dependency\u003e\n```\n### 1. Init driver instance of SelfHealingDriver\n``` \n//declare delegate\nWebDriver delegate = new ChromeDriver();\n//create Self-healing driver\nSelfHealingDriver driver = SelfHealingDriver.create(delegate);\n ```\n### 2. Specify custom healing config file healenium.properties under test/resources directory, ex.:\n``` \nrecovery-tries = 1\nscore-cap = 0.5\nheal-enabled = true\nhlm.server.url = http://localhost:7878\nhlm.imitator.url = http://localhost:8000\n ```\n\u003e recovery-tries - list of proposed healed locators\n\n\u003e heal-enabled - flag to enable or disable healing.\nAlso you can set this value via -D or System properties, for example to turn off healing for current test run: -Dheal-enabled=false\n\n\u003e score-cap - score value to enable healing with predefined probability of match (0.5 means that healing will be performed for new healed locators where probability of match with target one is \u003e=50% )\n\n\u003e hlm.server.url - ip:port or name where hlm-backend instance is installed\n\n\u003e hlm.imitator.url - ip:port or name where imitate instance is installed\n\n### 3. Simply use standard By/@FindBy to locate your elements\n```\n@FindBy(xpath = \"//button[@type='submit']\")\nprivate WebElement testButton;\n...\npublic void clickTestButton() {\n     driver.findElement(By.cssSelector(\".test-button\")).click();\n}\n```\n### 4. To disable healing for some element you can use @DisableHealing annotation over the method where element is called. Ex: If you want to verify that element is not present on the page.\n```\n@DisableHealing\npublic boolean isButtonPresent() {\n    try {\n        return driver.findElement(By.cssSelector(\".test-button\")).isDisplayed();\n    } catch (NoSuchElementException e) {\n        return false;\n    }\n}\n```\n\n### 5. Add [hlm-idea](https://github.com/healenium/healenium-idea) plugin to enable locator updates in your TAF code\n### 6. Run tests as usual using Maven mvn clean test or Gradle ./gradlew clean test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealenium%2Fhealenium-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealenium%2Fhealenium-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealenium%2Fhealenium-web/lists"}