1. Shadow DOM elements can't be directly access by using selenium only.
  2. To access shadow DOM elements we need to use Java Script.
  3. And as per W3C standard, there is a limitation that closed shadow root elements can't be accessed through Java Script. Reference- https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode
  4. To learn about this with practical example, please this video tutorial.

Note: Use SelectorsHub to handle shadow dom elements. It will give complete information what is not possible and what is possible along with script.

None
Write selectors for Shadow DOM elements!!