I am trying to write automation for a web driver using Selenium. With an shadow-root (open) element, I can use JS path to interact with it. However, if the element has a shadow-root (closed), I cannot do it in the same way.
How should I handle shadow-root (closed) element?
