title: Retrieve [String] from [object HTMLCollection]
body: <p>I've been struggling with this. I have a valid javascript command which I send from my wkwebview:</p>
  
  <pre><code>document.getElementById('qlist-wrapper').getElementsByClassName('question-summary narrow').toString();
  </code></pre>
  
  <p>When I type this from the Safari console I get back </p>
  
  <pre><code>"[object HTMLCollection]"
  </code></pre>
  
  <p>But when I try to use the returned object, I'm at a loss. I get "EXC_BAD_ACCESS" (Code=1, plus an address).  there are 4 payload objects associated with the "html: Any" object; they are all 0s. Here's the code in context:</p>
  
  <pre><code>webView.evaluateJavaScript("document.getElementById('qlist-
  
  wrapper').getElementsByClassName('question-summary narrow').toString();", completionHandler: { (html: Any, error: Error?) in
          print("\(html)")
          if let error = error {
              print("\(error.localizedDescription)")
          }
      })
  }
  </code></pre>
  
  <p>Ultimately my goal is to turn the html collection into an array of Swift strings. How do I do that? I would very much welcome a JSON solution (perhaps using Alamofire), but I simplified my approach to first get something working. (I've worked with Alamofire in the past, but not so much JSON). 
  If I try to look at the variable before printing it, i get:</p>
  
  <pre><code>po html
  error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff8).
  The process has been returned to the state before expression evaluation.
  </code></pre>