Webview Dump All Html

[Solved] Webview Dump All Html | Swift - Code Explorer | yomemimo.com
Question : WebView Dump all html

Answered by : smoggy-squirrel-tjypl72nseyf

wvbrowser.evaluateJavascript( "(function() { return ('<html>'+document.getElementsByTagName('html')[0].innerHTML+'</html>'); })();", new ValueCallback<String>() { @Override public void onReceiveValue(String html) { Log.d("HTML", html); // code here } });

Source : https://stackoverflow.com/questions/8200945/how-to-get-html-content-from-a-webview | Last Update : Mon, 18 Jan 21

Answers related to webview dump all html

Code Explorer Popular Question For Swift