> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/create-and-execute-tests-with-design-studio/working-with-element-repository-section/features-in-element-repository/understanding-self-healing/applying-self-healing.md).

# Applying Self Healing

To apply self healing, perform the following actions:

1. On the **Home** page, from **Projects** list, select required project.
2. Select **Design Studio**.
3. In the **Element Repository** page, select the required element repository for which you want to apply self healing.
4. Select **Tools** > **Self Heal**. The **Self Heal** dialog opens.

<img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FiWkhQFslEjXmJzfhFFXP%2Funknown.png?alt=media&amp;token=95ecd5e5-78c6-4df5-a811-7e0ea81614b0" alt="" height="306" width="686">

3. In the **Self Heal** dialog, choose one of the following options:
   1. **Enable Self Heal**
      1. Select **Adjust the broken elements attributes** to update the attributes of elements that were not detected during execution.
      2. Select **Preserve the properties of reprioritized items** for subsequent execution to prioritize the most stable properties for future runs.
   2. **Disable Self Heal**
      1. Select this option to disable self heal.
4. Select one of the following actions:
   1. **Apply for all repositories** to apply the selected option across all repositories.
   2. **Apply to current repository** to apply the selected option only to the current repository.

{% hint style="info" %}
**Note**: Select **Cancel** to close the dialog without making changes.
{% endhint %}

5. After you apply self healing to the repositories, the **Self Heal** icon appears.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FG1MmdWkHjZdUNXcgHBZb%2Funknown.png?alt=media&amp;token=b1cdc5c8-e8c8-4978-b53b-ea143f09f19e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**:

* Self-healing is only applicable to elements captured through the Avo Assure Client. It does not work for manually created elements.
* Successful element recovery in Self Heal does not necessarily update the visible properties in the Element Repository. This is expected behaviour, as self healing relies on more than just the displayed locators to identify elements.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avoautomation.com/avo-assure/create-and-execute-tests-with-design-studio/working-with-element-repository-section/features-in-element-repository/understanding-self-healing/applying-self-healing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
