Makes sense. Though now it depends on how you are getting the HTML page which has all the webcomponents.
ShadowDOM exists in DOM, so if it is a scraped page, shadowRoot will not have any elements inside it.
Another fact to consider is that web components with shadowDOM might be created with closed mode; in that case, you can not access the inner DOM of shadowDOM.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Makes sense. Though now it depends on how you are getting the HTML page which has all the webcomponents.
ShadowDOM exists in DOM, so if it is a scraped page, shadowRoot will not have any elements inside it.
Another fact to consider is that web components with shadowDOM might be created with closed mode; in that case, you can not access the inner DOM of shadowDOM.