# Webサイト内のテキストを認識してクリックするようにしたい

**URL:** <https://forum.uipath.com/t/web/212092>\
**Category:** フォーラム\
**Tags:** studio, error\
**Created:** [April 14, 2020, 9:41pm UTC](https://forum.uipath.com/t/web/212092 "2020-04-14T21:41:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pthfs1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pthfs1/32/176959_2.png) [@pthfs1](https://forum.uipath.com/u/pthfs1)\
**Post date:** [April 14, 2020, 9:41pm UTC](https://forum.uipath.com/t/web/212092/1 "2020-04-14T21:41:20Z")

</div>

UiPath初心者です。

 ![無題](https://global.discourse-cdn.com/uipath/original/3X/f/7/f77d993252656741018e490938937c42b1b110cc.png)  
例ですが、以下のKDDIのページの「問い合わせ」をテキストとしてUiPathが認識してクリックするようにしたいです。  
また、Webレコーディングではセレクタを編集してXML？の中を書き換えて実現できたのですが、Webレコーディングではなく、「ブラウザを開く」等のコンテナの中でレコーディングを使わずに実現したいのですがうまくいきません。

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [April 15, 2020, 6:44am UTC](https://forum.uipath.com/t/web/212092/2 "2020-04-15T06:44:27Z")

</div>

こんにちは

この場合、アクティビティは（テキストをクリックではなく）クリックアクティビティを使うほうがベターです。クリックアクティビティで単純に対象要素（テキスト）を選択すれば、aaname属性としてこの文字列が指定されるかと思います。

---

<div class="post-metadata">

**Author:** ![pthfs1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pthfs1/32/176959_2.png) [@pthfs1](https://forum.uipath.com/u/pthfs1)\
**Post date:** [April 16, 2020, 5:38am UTC](https://forum.uipath.com/t/web/212092/3 "2020-04-16T05:38:42Z")

</div>

クリックアクティビティによって正常に動作しました。  
ありがとうございます。  
セレクタで確認したところaaname属性に指定されていました。  
大変助かりました。

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [April 19, 2020, 5:38am UTC](https://forum.uipath.com/t/web/212092/4 "2020-04-19T05:38:43Z")

</div>

Closed on April 19, 2020, 5:38am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
