nikhil udgirkar nikhil udgirkar - 2 years ago 67
HTML Question

I want to find the xpath for day separated by <br>

I have an HTML like this

<td class="FormLabel" valign="top">
<span class="DataLabel">Consists of:</span>
<td class="FormData">
<span class="BodyText">

Here I want Xpath to just check for Sunday.

I had written Xpath like this


But this is not working as it is showing both days sunday and monday.
Help me with finding sunday or any particular day for that matter.

Answer Source

This is sunday


respectively, [2] is monday

Below part, containing sunday

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download