# Search for a specific string on a web page

**URL:** <https://community.dynatrace.com/t/search-for-a-specific-string-on-a-web-page/22879>\
**Category:** Synthetic Monitoring\
**Tags:** availability\
**Created:** [January 9, 2020, 3:57pm UTC](https://community.dynatrace.com/t/search-for-a-specific-string-on-a-web-page/22879 "2020-01-09T15:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrym](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@terrym](https://community.dynatrace.com/u/terrym)\
**Post date:** [January 9, 2020, 3:57pm UTC](https://community.dynatrace.com/t/search-for-a-specific-string-on-a-web-page/22879/1 "2020-01-09T15:57:51Z")

</div>

We would like to be able to check for a specific text string on a website to confirm the website is up and serving the correct pages. e.g. we put a maintenance page on a webserver so the normal content was not available but obvisouly the webserver appears to be up as the webserver was serving documents albeit it a maintenance page.

If we could search for a specific text string which is normally on the web page we know the correct content is being serverd. Hope that makes sense.

Can this be done with Dynatrace please?

---

<div class="post-metadata">

**Author:** ![arturo\_mondelo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/arturo_mondelo/32/2566_2.png) [@arturo\_mondelo](https://community.dynatrace.com/u/arturo_mondelo)\
**Post date:** [January 9, 2020, 4:16pm UTC](https://community.dynatrace.com/t/search-for-a-specific-string-on-a-web-page/22879/2 "2020-01-09T16:16:14Z")

</div>

For this use case i would use a synthetic test (browser) that allow you to search for a specific content/text on a concrete page (step).

If the test is not found, an outage can be defined and you will get notified if you wish so!

Hope i understand your use case properly!

---

<div class="post-metadata">

**Author:** ![terrym](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@terrym](https://community.dynatrace.com/u/terrym)\
**Post date:** [January 10, 2020, 8:19am UTC](https://community.dynatrace.com/t/search-for-a-specific-string-on-a-web-page/22879/3 "2020-01-10T08:19:17Z")

</div>

Thank You Arturo. This confirms I was on the right path.
