The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree.
You can retrieve a reference to an element by defining the elemet below sui:shadow-root tag in the same way as for the non shadow root elements.
<sui:page id=""! schema="html"> <sui:shadow-root > <div id=""! remoteId=""?> <button id=""! attribute:xx=""? text=""? method=""? /> <element id=""! type=""? xPath=""? attribute:xx=""? method=""? /> <ul id=""? attribute:xx=""? method=""?> <li id=""! attribute:xx=""? text=""? method=""? index=""? sibling=""? directChild=""? /> </ul> </sui:shadow-root> </sui:page> |
! - mandatory, ? - optional
HTML | CAST Page Object | |
---|---|---|
![]() |
|