1wvbrowser.evaluateJavascript(
2 "(function() { return ('<html>'+document.getElementsByTagName('html')[0].innerHTML+'</html>'); })();",
3 new ValueCallback<String>() {
4 @Override
5 public void onReceiveValue(String html) {
6 Log.d("HTML", html);
7 // code here
8 }
9 });
10