**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 - https://github.com/microsoft/playwright/pull/5603#issue-579645389 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.