- Shadow DOM elements can’t be directly access by using selenium only.
- To access shadow DOM elements we need to use Java Script.
- And as per W3C standard, there is a limitation that closed shadow root elements can’t be accessed through Java Script.
- 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.