I have a table in which each row has a xpath and within each row a column is embedded. There is a tag in row's xpath that changes text based on what you choose on that page.
<div class='xyz'>
<span> some text </span>
</div>
I am doing //div[@class='xyz']/span.text()
However, I am not able to get the text from here.
I am using python with VSCode.