I'm wondering why Selenium can't read the text of a label tag, even though get_attribute("innerHTML") returns the correct content.
<label style="position: absolute;">TextContent</label>
This is the outerHTML (unfortunately, I cannot publish more code for security reasons).
TextContent is the inner one, but .text is an empty string.
On every other element, .text works perfectly fine.
Thanks for your help,
Nico