func getHtml(webview *webkit.WebView) string { js := "document.title=document.documentElement.outerHTML" webview.ExecuteScript(js) str := webview.GetMainFrame().GetTitle() //str := webview.GetTitle() return str }