2 ms·
Shadow roots are a nightmare when doing any kind of Web scraping or UI integration testing
by sh4rks 4y ago
Shadow roots are a nightmare when doing any kind of Web scraping or UI integration testing
- mmis1000 4y agoIf you own the browser, you can just nuke the `mode` option of `attachShadow` method before page itself runs. And bang, you can access to whatever you want now. So it isn't really a big deal if you are scraping or doing UI testing. Because the one runs first has the power to do whatever you want in js (Except for some primitive specifically protected in browser).