使用CefSharp获取A标签中的内容
js = @"(function (){ return document.querySelectorAll('a')[0].innerHTML})(); "; chromeBrowser.EvaluateScriptAsync(js).ContinueWith(x => { var response = x.Result; if (response.Success && response.Result != null) { userinfo+= response.Result.ToString().Trim().Split(':')[1].Substring(0, 3)+" "; } });