nikhil udgirkar nikhil udgirkar - 5 months ago 7
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.


This is sunday


respectively, [2] is monday

Below part, containing sunday