# Self-Healing Tests in Web Automation – Anyone Using Them Successfully with WebdriverIO or Playwright?

**URL:** <https://club.ministryoftesting.com/t/self-healing-tests-in-web-automation-anyone-using-them-successfully-with-webdriverio-or-playwright/85018>\
**Category:** Discussions\
**Tags:** tools, automation\
**Created:** [28 May 2025 13:50 UTC](https://club.ministryoftesting.com/t/self-healing-tests-in-web-automation-anyone-using-them-successfully-with-webdriverio-or-playwright/85018 "2025-05-28T13:50:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kununuqa](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kununuqa](https://club.ministryoftesting.com/u/kununuqa)\
**Post date:** [28 May 2025 13:50 UTC](https://club.ministryoftesting.com/t/self-healing-tests-in-web-automation-anyone-using-them-successfully-with-webdriverio-or-playwright/85018/1 "2025-05-28T13:50:57Z")

</div>

Hi everyone 👋

We currently use **WebdriverIO** for our web testing, but we’re actively **considering a migration to Playwright**. One concept that caught our attention is **self-healing test automation** — tools or frameworks that can automatically update or adapt locators when the UI changes.

We’re curious to know:

- Have you implemented self-healing in your test automation setup?
- What tools or plugins have you used (especially with **WebdriverIO** or **Playwright** )?
- Did it help reduce flaky tests or just add more complexity?
- In your experience, is it worth integrating, or is strong locator strategy and test design enough?

We’d really appreciate hearing your real-world experiences — good, bad, or surprising. Any recommendations (or warnings) would help us make an informed decision as we evaluate our next steps.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![lili](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/lili/32/14839_2.png) [@lili](https://club.ministryoftesting.com/u/lili)\
**Post date:** [22 August 2025 13:06 UTC](https://club.ministryoftesting.com/t/self-healing-tests-in-web-automation-anyone-using-them-successfully-with-webdriverio-or-playwright/85018/2 "2025-08-22T13:06:02Z")

</div>

Greetings @kununuqa !!

I find myself looting for AI-inspired post here in MoT, and stumbled upon this article:

> **[Creating self-healing automated tests with AI and Playwright](https://www.ministryoftesting.com/articles/creating-self-healing-automated-tests-with-ai-and-playwright)**
>
> Reduce test automation maintenance with AI-powered self-healing tests in Playwright

It might help to see what the community say about this in the following thread too:

> [@robot Day 20: Learn about AI self-healing tests and evaluate how effective they are](https://club.ministryoftesting.com/t/day-20-learn-about-ai-self-healing-tests-and-evaluate-how-effective-they-are/75314):
>
> Only ten more days to go on this challenge, and today we are going to examine the claims about Self-Healing Testings. The idea of Self-Healing Tests was one of the early claims for the use of AI in Testing, but there are three key questions we want to answer: What does Self-Healing Tests really mean? What are the risks of Self-Healing Tests? Is this a useful feature? We know that not everyone is interested in learning new automation tools, so similar to yesterday’s task, there are two options…

Honestly reading the article and reading this thread still make me curious if these “self-healing” AI-assisted frameworks can do more than just locator change 🤔

I wonder if there is an update at present-day where it has been proven to be super useful… and if it has become really-really “self-healing”?

---

<div class="post-metadata">

**Author:** ![ramanan49](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/ramanan49/32/15686_2.png) [@ramanan49](https://club.ministryoftesting.com/u/ramanan49)\
**Post date:** [23 August 2025 00:24 UTC](https://club.ministryoftesting.com/t/self-healing-tests-in-web-automation-anyone-using-them-successfully-with-webdriverio-or-playwright/85018/3 "2025-08-23T00:24:36Z")

</div>

@kununuqa,

Awesome question! 🙌

So, I haven’t used full self-healing quite yet, but I’ve looked into it a bit while exploring WebdriverIO and Playwright. Few thoughts:

Locator strategy stands above self-healing; more often than not, a strong locator strategy (think: data-test-ids, stable attributes, never-brittle selectors) will cause less grief than relying on auto-healing.

Tools I’ve seen: Healenium (in the Java/Selenium world) tends to come up a lot, but for the Playwright world, I’ve usually seen folks trying and experimenting with some community plugins or just writing their own locator retry logic.

Pros and Cons. Self-healing sounds magical, but it ends up being complex most of the times. Debugging gets tricky when the framework silently “fixes” locators - sometimes you’d rather know something broke!

That being said, I think lightweight healing techniques think fallback locators or intelligent retries come into play whenever the UI undergoes constant changes. For a big team or fast-paced product, the trade-off is worthy.

If you’re migrating to Playwright, my gut says: first go strong with locator strategy and test design, and then lead with self-healing only if scaling flaky tests become a pain.

How about the community in here, has anyone found a good solution with, say, WebdriverIO or Playwright, and do you think this aspect is still evolving?
