I want to get the text of the element with td
tag. The text I want is "2021.08.13"
<tr>
<td><span>申请号:</span> <a
href="javascript:viewDetail(0);">CN202110930062.2</a> </td>
<td><span>申请日:</span> 2021.08.13
</td>
</tr>
I tried the following XPath :
"td//span[.='申请日:']"
But I am getting the text value of span
tag only.
Can anybody tell me the correct xpath or css selector for this?