i have a weired problem and hope u can help me. Is there a good way to read the marked numbers (123456789)?
<tr>
<td>
<div style="width: 98%;" class="TestClass">
<span class="highlight-label">Person: </span>
"123456789, "
<span class="word-break">Lastname,
Firstname</span>
", geb. 01.01.1999"
</div>
</td>
</tr>
This xpath:
//div[@class='TestClass'][contains(.,'123456789')]
But its not reading just the Number, its reading like everything inside the Node.
You could try this: