> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/faq/faq-test-execution/faq-autify-ai/autify-maintainance-ai.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# AutifyのメンテナンスAIはどのように要素に追従しますか？

Autifyは、レコーディング時または直前に成功したテスト実行時の要素と完全一致する要素 (以下、完全一致する要素)が見つからなかった場合、AIが代わりの要素を探索します。これをAutifyのメンテナンスAIまたはAutifyのAIと呼んでいます。

AutifyのAIは、classやidなどの一般的な特徴に加え、要素が持つ文言、DOMツリー内での位置、親子関係などを用いてそれぞれの要素を評価し、最も一致度が高いと判断された要素に追従します。この機能により、ページの改修などに伴い要素の特徴が変化しても、継続的に要素を探し出すことができます。 なお、要素が意図通りのものであるか確認する必要があるとAIが判断した場合は、 [**要確認**](https://help.autify.com/nocode-web/autify-university/foundation/test-results/review-needed-flag.md) と表示されます。

{% hint style="info" %}
**AIの要素探索**

AutifyのAIは以下の流れで要素を探索します。

1. 完全一致する要素が現れるまで、一定時間（デフォルトでは20秒）待機する (※**デフォルトの待機時間を変更したい** 場合は、Autifyのチャットからご相談ください)
2. 一定時間待機しても完全一致する要素が現れなかった場合、AIによる探索に移る
3. AIが、要素が持つ特徴を用いてそれぞれの要素を評価し、最も一致度が高いと判断した要素を選択する

なお、このAutifyのAIは、生成AIを利用した機能ではありません。
{% 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://help.autify.com/nocode-web/faq/faq-test-execution/faq-autify-ai/autify-maintainance-ai.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.
