title: How to automate shadow DOM elements using selenium?
body: <p>I am using Java Selenium project for web page automation. The web page contains lots of multi-level shadow-root DOM elements that I am not able to interact with using selenium <code>findElement</code> method.</p>
  
  <h3>I have tried the following solutions:</h3>
  
  <ul>
  <li>deep css (Don't work on latest chrome browser)</li>
  <li>JS Executor. (This is really tedious and becomes complex to maintain)</li>
  </ul>
  
  <h3>Note:</h3>
  
  <p>If you know any other solution other than listed above that I can implement in Selenium Java framework , please pass on the solution. Thanks in advance !.</p>