I need to get array of custom elements in document using JS.
I tried to get all elements using querySelectorAll('*') and then filter elements by tag name, but it doesn't return elements in shadowRoot. v