Skip to content

[Bug]: DOMElementValue cannot read HTML text or comment #2011

@stloyd

Description

@stloyd

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).

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions