Although Playwright selectors do not pierce closed shadow roots, one can still obtain a reference to an element inside a closed shadow root: - through `page.evaluate()`; - through `handle.$()` where `handle` is inside the shadow root; - through `frame.locator()` by choosing an iframe that belongs to a closed shadow root. In this case, `click()` action fails during the hit check test, but it's possible to make it work by going bottom up from the target rather than top down from the document. |
||
|---|---|---|
| .. | ||
| bin | ||
| bundles | ||
| src | ||
| types | ||
| .npmignore | ||
| browsers.json | ||
| cli.js | ||
| index.d.ts | ||
| index.js | ||
| index.mjs | ||
| package.json | ||
| README.md | ||
| ThirdPartyNotices.txt | ||
playwright-core
This package contains the no-browser flavor of Playwright.