title: Can Xpath expressions access shadow-root elements?
body: <p>Currently I am scraping article news sites, in the process of getting its main content, I ran into the issue that a lot of them have embedded tweets in them like these:</p>
  
  <p><a href="https://i.stack.imgur.com/HOcOs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HOcOs.png" alt="enter image description here"></a></p>
  
  <p>I use XPath expressions with <a href="https://chrome.google.com/webstore/detail/xpath-helper/hgimnogjllphhhkhlmebbmlgjoejdpjl?hl=en" rel="noreferrer">XPath helper</a>(chrome addon) in order to test if I can get content, then add this expression to scrapy python, but with elements that are inside a <code>#shadow-root</code> elements seem to be outside the scope of the DOM, I am looking for a way to get content inside these types of elements, preferably with XPath.</p>