# Find element with certain text inside another element using UISelector query

**URL:** <https://discuss.appium.io/t/find-element-with-certain-text-inside-another-element-using-uiselector-query/29845>\
**Category:** Support\
**Created:** [March 3, 2020, 1:56pm UTC](https://discuss.appium.io/t/find-element-with-certain-text-inside-another-element-using-uiselector-query/29845 "2020-03-03T13:56:28Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [March 4, 2020, 9:49am UTC](https://discuss.appium.io/t/find-element-with-certain-text-inside-another-element-using-uiselector-query/29845/8 "2020-03-04T09:49:23Z")

</div>

try:

```auto
new UiScrollable(new UiSelector().resourceIdMatches(\".*recycler_view").scrollable(true))
.scrollIntoView(new UiSelector().resourceIdMatches(\".*name\").text(\"Test Group\"))";

```

or

```auto
new UiScrollable(new UiSelector().scrollable(true))
.scrollIntoView(new UiSelector().resourceIdMatches(\".*name\").text(\"Test Group\"))";

```

---

_[View the full topic](https://discuss.appium.io/t/find-element-with-certain-text-inside-another-element-using-uiselector-query/29845)._
