playwright-go
playwright-go copied to clipboard
Shadow-Piercing Selectors
The documentation says Support for web components via shadow-piercing selectors.
I also found files like https://github.com/playwright-community/playwright-go/blob/main/tests/assets/deep-shadow.html
Nevertheless I didn't find any test for shadowed fields.
When I try to select a shadowed field via the Locator, the locator doesn't find it at the moment.
Am I missing something?
@elgohr could you please provide your test that is having issue
@ninadingole that's the issue. I can't find any test for https://github.com/playwright-community/playwright-go/blob/main/tests/assets/deep-shadow.html
Shadow Piercing should work out of the box, its covered in the upstream Playwright project, thats why the test-file is not in-use.
Could you share with us a repro what's exactly not working? In e.g. a small git repo.
Added a test. Hope this helps