title: Get HTML content after it is loaded
body: <p>I have a <code>Share Extension</code> in which I am getting the <code>HTML</code> like this:</p>
  
  <pre><code>@objc func actionButtonTapped(){
  
          var html: String?
  
          if let item = extensionContext?.inputItems.first as? NSExtensionItem,
              let itemProvider = item.attachments?.first,
              itemProvider.hasItemConformingToTypeIdentifier("public.url") {
              itemProvider.loadItem(forTypeIdentifier: "public.url", options: nil) { (url, error) in
                  if (url as? URL) != nil {
  
                      html = (self.getHTMLfromURL(url: url as? URL))
  
                      self.doStuff(html: html)
                  }
              }
          }
  }
  </code></pre>
  
  <p><strong>Problem:</strong></p>
  
  <p>I get the HTML but not the complete content. How do I get the full <code>HTML</code>-<code>content</code> of the Website ?</p>
  
  <p><strong><em>Update:</em></strong></p>
  
  <p>The reason is that I would like to scrape the <code>price</code> of any product but some sites dont have the <code>price</code> loaded  on the first <code>HTML-get</code> ...</p>
  
  <p>This <a href="https://www.asos.com/de/levis-skateboarding/levis-skateboarding-sweatshirt-mit-1-4-reiverschluss-in-grau/prd/14868863?clr=grau&amp;colourWayId=16650333&amp;SearchQuery=&amp;cid=13514" rel="nofollow noreferrer">link</a> is a good example. If you click on the price and inspect it you can see it's in the <code>class</code> <code>current-price</code>. However if I retrieve the <code>HTML</code> with the method above, this <code>class</code> is not shown.</p>