mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-06 01:17:33 +03:00
6e1c94b5fe
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. |
||
---|---|---|
.. | ||
html-reporter | ||
playwright | ||
playwright-chromium | ||
playwright-core | ||
playwright-ct-react | ||
playwright-ct-solid | ||
playwright-ct-svelte | ||
playwright-ct-vue | ||
playwright-ct-vue2 | ||
playwright-firefox | ||
playwright-test | ||
playwright-webkit | ||
recorder | ||
trace-viewer | ||
web | ||
.eslintrc.js |