I am not an expert programmer so I am struggling here. I would really appreciate a bit of a help!
I am trying to figure out how to get or at least verify that a value in this case “8” is inside the div for this shadow root. As far as I understand for now, the logic is similar to an iframe. I have to tell Katalon which is the parent container so that it knows where to look for the shadow root.
I am not being able to make it. Here is how it looks
var container = document.querySelector(’#example’);
//Create shadow root !
var root = container.createShadowRoot();
root.innerHTML = ‘
Element in shadow
//Access the element inside the shadow !
//“container.shadowRoot” represents the youngest shadow root that is hosted on the element !