I thought I had already reported this issue long time ago, but seemingly I haven't..
When there is multiple whitespace in a text like this
>That's the text</
and you try to get this span with
"TextContent=That's the text"
it doesn't work, even if this is the text you will see on the website. All browsers ignore multiple whitespace in html, so I think the framework should also natively do so.
I solved it with custom GetInnerText()- and GetTextContent()- methods which automatically remove multiple whitespace and then convert .