boa-constrictor
boa-constrictor copied to clipboard
Explore Shadow DOM
Shadow DOM allows hidden DOM trees to be attached to elements in the regular DOM tree. It can be very tricky to handle with test automation. Info about Shadow DOM can be found here: https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM.
We should answer these questions:
- Is Shadow DOM support worth pursuing?
- Can Boa Constrictor's current Web UI interactions handle Shadow DOM?
- If not, then can they be updated seamlessly to support Shadow DOM?
- If not, then how should we handle Shadow DOM?
Serenity BDD has a solution for this using Shadow DOM specific By selectors https://github.com/serenity-bdd/serenity-core/pull/2341
I haven't used it personally, but worth a look If you're thinking about implementing