I want to hide two classes, the header and one more or maybe multiple classes in webkit View. If i use them alone both will work. But can i combine them? Maybe like this? The (,) will not work.
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation) {
webView.evaluateJavaScript("document.querySelector('.Header', '#auto_page_titles-2').remove();",
completionHandler: { (response, error) -> Void in
webView.isHidden = false
})
}
}