# Returning HTML response for few selectors

**URL:** <https://community.postman.com/t/returning-html-response-for-few-selectors/34645>\
**Category:** Help Hub\
**Tags:** tests, parsing-html\
**Created:** [April 21, 2022, 11:55am UTC](https://community.postman.com/t/returning-html-response-for-few-selectors/34645 "2022-04-21T11:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![avionics-architect-7](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/avionics-architect-7/32/11776_2.png) [@avionics-architect-7](https://community.postman.com/u/avionics-architect-7)\
**Post date:** [April 21, 2022, 11:55am UTC](https://community.postman.com/t/returning-html-response-for-few-selectors/34645/1 "2022-04-21T11:55:38Z")

</div>

Hi All! I am dealing with one API which returns HTML in response. I am trying to make a collection for running a collection from where I can get response values for a few selectors in HTML. I am a bit confused about how to work on the same. Please find a sample HTML response.

```auto
<td class="error">OPEN</td>
<td>04/21/22 07:48:02 AM</td>
<td>0</td>
<td>$0.00</td>

```

I would like to capture all the child td elements value succeeding td class “error” where text is OPEN.
