title: selenium python: Unable to parse data in <object> tag with #document section
body: <pre><code>url = 'http://www.mtv.de/charts/c6mc86/single-top-100?expanded=true'
  chromedriver = Service(&quot;/usr/local/bin/chromedriver&quot;)
  op = webdriver.ChromeOptions()
  browser = webdriver.Chrome(service=chromedriver, options=op)
  browser.get(url)
  timeout = 60
  browser.implicitly_wait(20)
  browser.execute_script(&quot;window.scrollTo(0, document.body.scrollHeight,)&quot;)
  time.sleep(5)
  try:
      WebDriverWait(browser, timeout).until(EC.visibility_of_element_located((By.XPATH, '/html/body/div[1]/main/div/section/div/div/div/object')))
      print('========================')
  except TimeoutException:
      browser.quit()
  items = browser.switch_to.frame(browser.find_element(By.TAG_NAME,'object'))
  print(items)
  itembox = items.find_elements(By.CLASS_NAME, 'charts-marslnet')
  # print(itembox)
  for item in itembox:
      print(item.text)
                              
  </code></pre>
  <p>I have been trying to scrap the song name, author and url for the song from this website but unable to access the html inside the  tag under #document section. I am not able to figure why i cant access it. Any insights on what can be the issue with my code or what should be done to access this html inside #document section would be very helpful.
  [HTML inside the  tag with #document(Screenshot 2<a href="https://i.stack.imgur.com/qvlPz.jpg" rel="nofollow noreferrer">][1]</a></p>