There is a HTML structure like this:
<div>
<b>
<label>Company-Name : Anything</label>
</b>
</div>
<div>
<b>
<label>First-Name : Alex</label>
</b>
</div>
<div>
<b>
<label>Cell-phone : 035123913</label>
</b>
</div>
I have this string: First-Name :
and I need to get Alex. In other word, how can I search for string and then select all of that element?
Note1: Always this string First-Name
is unique in the page.
Note2: Those elements don't have a constant order. I mean sometimes there is some new <div><b><label>
after or before that structure. So the best option is searching for that string.
Note3: I'm using this library.