0

I'm new to shadow-root(open). I read the documentation in developer . mozilla . org but I still have no clue how to get the element attached with shadow-root (open) without using javascript methods. Is it possible?

For example. I was trying to get the element by using ctrl+f in browser's inspect element page. And here what I get (see the screenshots below)

enter image description here
enter image description here enter image description here

As we can see, browser can't see the button tag.

Is there any way to get the element only with writing something in css selector way?

Ruben Kubalyan
  • 288
  • 3
  • 11
  • Does this answer your question? [How to interact with the elements within #shadow-root (open) while Clearing Browsing Data of Chrome Browser using cssSelector](https://stackoverflow.com/questions/56380091/how-to-interact-with-the-elements-within-shadow-root-open-while-clearing-brow) – Alexey R. Nov 18 '22 at 09:19

0 Answers0