im trying to get the HTML document in order to parse or manipulate it, but the only thing i found is a print in console function
webView.evaluateJavaScript("document.documentElement.outerHTML.toString()", completionHandler: { (html: Any?, error: Error?) in print(html) })
Could be a way to store the html var into a swift string var?
thanks:)