<td>By Company </td>
I need to capture xpath of the above element. I tried following alternatives, but nothing seems to be working in chrome. Can you please suggest any other option.
"//td[normalize-space(text())='By Companyu00a0']"
"//td[normalize-space(text())='By Companyu00a0u00a0']"
"//td[text()='By Companyu00a0']"
"//td[text()[normalize-space(.)='By Companyu00a0']]"
"//td[text()[normalize-space()='By Companyu00a0']]"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…