I have HTML like this:
<html>
<table>
<tr>
<td id="tCell">Feb 2018</td>
</tr>
</table>
</html>
Here is XPath which returns me WebElement
(SelenideElement
in Selenide or Node
in browser debugger): .//*[@id='tCell']
Here is XPath which returns me the String with Feb
: substring-before(.//*[@id='tCell'], ' ')
My problem is that I need to receive the same Feb
value, but as a Node.
Does someone have any ideas how to solve it?