title: Shadow DOM with Python Selenium Geckodriver
body: <p>I am trying this code to access a shadow root element on the following website <a href="https://www.wego.ae/en/flights/searches/cSFO-cLHR-2020-03-09:cLHR-cSFO-2020-03-22/economy/1a:0c:0i?sort=price&amp;order=asc" rel="nofollow noreferrer">https://www.wego.ae/en/flights/searches/cSFO-cLHR-2020-03-09:cLHR-cSFO-2020-03-22/economy/1a:0c:0i?sort=price&amp;order=asc</a> which is supposed to work on Chrome Driver but on Geckodriver gives a cyclic object exception. </p>
  
  <p>Anyone was able to make it work on firefox geckodriver and could share their code?</p>
  
  <pre><code>def expandShadowElement(self,element):
      shadowRoot = self.driver.execute_script('return arguments[0].shadowRoot', element)
      return shadowRoot
  
  root1 = self.driver.find_element_by_tag_name('makalu-app')
  shadowRoot1 = self.expandShadowElement(root1)
  </code></pre>