Skip to content

[REGRESSION]: Text selector changed behavior #5634

@niranjan-borawake

Description

@niranjan-borawake

Context:

  • GOOD Playwright Version: 1.8.0
  • BAD Playwright Version: 1.9.1
  • Operating System: Windows, Linux or Mac
  • Extra: N/A

Describe the bug

As per the fix #5603 and the comment - #5603 (comment)

For
<div>text1<span>child node</span>text2</div>
In v1.8.0 - text="child" did not select <span>child node</span>
But it does select it in v1.9.1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions