What happened?
When reading HTMLElement details, we get everything that's inside of it, but if it contains a mix of text and elements, we cannot easily get only the text.
How to reproduce?
<div>
<span>foo</span>
bar
</div>
We're unable to get a bar value alone.
Data required to reproduce bug locally
As above.
Version
0.27
Relevant error output
Copy and paste any relevant error output (no backticks needed).