Unable to access element inside shadow-root


So I got this element I’m trying to access by tag and text, this element is inside shadow-root.

I created an object to the shadow root parent, and in the test object that I’m trying to access to I selected the shadow-root object I created as the Shadow Root Parent.

But it still cannot access the element inside the shadow-root, it says element not found by text:
com.kms.katalon.core.exception.StepFailedException: Unable to verify object ‘Object Repository/Web App/Compose/massHeader’ is present

Can anyone provide a solution?


Hey Ohad @oyosef, you can follow the tip from Customer Support about working with shadow root here.

1 Like