q2ebanking / boa-constrictor

Boa Constrictor is a C# implementation of the Screenplay Pattern. Its primary use case is Web UI and REST API test automation. Boa Constrictor helps you make better interactions for better automation!
https://q2ebanking.github.io/boa-constrictor/
Other
118 stars 40 forks source link

Explore Shadow DOM #28

Open AndyLPK247 opened 4 years ago

AndyLPK247 commented 4 years ago

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:

thePantz commented 3 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