Contributions
Re: How to find the shadow object in DOM
My application is web application.It doesn't recognize the object using the object spy basically i am working with wijimo grid 5.0 and need to work with the cell but using the object spy i not able to find the grid cell because it comes under the shadow root. In Screenshot, it is mention id = grid-part, when i try to find the object using object spy or event using the "findchildbyxpath" test complete not allowing me to work with the object.2.6KViews0likes0CommentsHow to find the shadow object in DOM
Kindly help me out with the code snippet for finding the shadow DOM object. I tried using the ContentDocument but it doesn't work out with me. please look into the attachment for more information. var outer = panel.contentDocument.Script('return arguments[0].shadowRoot','my-sequence-grid');Solved2.6KViews0likes8Comments