I'm trying to get all of the text displayed on the screen in a WKWebView .
First of all, the text inside the html file to be loaded is broken.
So use evaluateJavaScript to call "document.body.textContent" or "document.body.innerText".
Doing so will return the broken text verbatim.
However, the content displayed on the webview screen is not broken and displayed normally.
I want to know how to get all normal text rendered on this webview screen.