shadow dom support
reference:
- https://github.com/KnowledgeExpert/selenidejs/pull/130/files
- and probably something from here
- https://github.com/KnowledgeExpert/selenidejs/pull/129/files
Found same feature request earlier #214
As known selenide has shadow dom support starting from version 5.10.0 It would be great to implement the same feature in selene.
selenide/selenide#1090
fixes: selenide/selenide#1129
I suggest one of them can be closed.
Selenide 5.18.0 has released recursive search in shadow-dow which is faster than it has before. Can be helpful and useful in selene too. News here: https://selenide.org/2021/01/23/selenide-5.18.0/ PR here: https://github.com/selenide/selenide/pull/1373 Script here: https://github.com/selenide/selenide/blob/master/src/main/resources/find-in-shadow-roots.js
this feature needs some kine of "js selectors", let's think on allowing something like browser.element('js:document.querySelector(".foo")'), etc...