Open AndyLPK247 opened 4 years ago
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
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: