Skip to content

All tests / JavaScript pages

Shadow DOM

What this tests. Reviews inside an open shadow root. document.querySelector can't see them; your selectors have to pierce it.

The reviews live in the shadow root of <nw-reviews>. In a browser, element.shadowRoot gets you in; Playwright's CSS selectors pierce open roots on their own.

What people said

Data version 1.0.0. Everything here is made up: products, brands, people, towns. tests.json · robots.txt · Source