# Adopt Editorでのエレメントセレクターの使用

{% hint style="warning" %}
Adopt Editorで機能を使用するには、まずNexthink Infinityで[ガイドを作成](/platform/ja/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/creating-guides.md)し、特定のwebアプリケーションの[採用設定を構成する](/platform/ja/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings.md)必要があります。
{% endhint %}

Adopt Editorの要素セレクタを使用して、ブラウザ上でターゲットのwebアプリケーションに[ガイドビジュアルコンポーネント](/platform/ja/user-guide/adopt/getting-started-with-adopt.md#what-are-the-different-visual-components-available-for-guides)を添付します。

## Adopt Editorでの要素セレクタの使用

ガイドの種類に関係なく、Adopt Editorから要素セレクタを開くには:

1. ガイドの種類に応じて、**ツールチップ、** ステップ、アクション、またはメディアを追加します—ショートカットキーとして **Shift + a** を押します。
   * 要素セレクタを起動した後、ガイドビジュアルコンポーネントを割り当てたいweb要素の上にカーソルをホバーします。
   * または、特定のツールチップ、ステップ、アクション、またはメディアピースの\[プロパティ]タブから要素セレクタを再起動することも可能です。ガイドのタイプに関係なく行えます。
   * アプリケーション内を要素を選択せずに移動するには、**Shift + Click** を押します。
2. webアプリケーションページで選択した要素を確認するには、**✓** アイコンをチェックするか、**Shift + C** を押します。
   1. **Esc**を押します。

{% hint style="info" %}
Adopt Editorで要素を選択するとき、可能なアクションとコマンドを示す青いボックスが表示されます。
{% endhint %}

コントロールパネルを使用して[要素選択を精錬します](#refining-element-selection)。

<figure><img src="/files/wYQDAkeLcxpq94GlnwKl" alt=""><figcaption></figcaption></figure>

### **Adopt Editorでの要素選択の精錬**

{% hint style="info" %}
Nexthink Infinityで[採用設定を構成するとき](/platform/ja/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings.md)、特定のアプリケーションに対してガイドの要素セレクタのデフォルトを定義し、特定の要素属性を含めたり、除外したりできます。
{% endhint %}

webアプリケーションページで要素を選択した後、コントロールパネルは、選択を鋭利化するためのいくつかの視覚的および機能的なオプションを提供します。

1. コントロールパネル内の上下の矢印を使用してキャプチャされた要素を調整し、強度インジケータに影響を与えます。
2. コントロールパネル内でキャプチャされた要素の属性をチェックして、クラスや **ids** が動的に作成されるかどうかを確認します。

<figure><img src="/files/7luNrunfwYlULbMAxrqg" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
要素を選択する際、ページ全体がiframeとなり、完全にハイライトされることがあります。
{% endhint %}

Nexthink Adoptでは、オーバーレイを表示することでiframe内の個々の要素を選択することができます。

***

関連トピック

* [ツールチップガイドの開発](/platform/ja/user-guide/adopt/guide-content-development-from-in-app-adopt-editor/developing-tooltip-guides.md)
* [ウォークスルーガイド開発](/platform/ja/user-guide/adopt/guide-content-development-from-in-app-adopt-editor/developing-walkthrough-guides.md)
* [メディアガイドの開発](/platform/ja/user-guide/adopt/guide-content-development-from-in-app-adopt-editor/developing-media-guides.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/ja/user-guide/adopt/guide-content-development-from-in-app-adopt-editor/using-element-selector-in-adopt-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
