//获取A标签的href属性 web.EvaluateScriptAsync("new Object({href: document.getElementById('a').href })").ContinueWith(new Action<Task<JavascriptResponse>>((respA) => { JavascriptResponse resp = respA.Result; dynamic respObj = resp.Result; MessageBox.Show(respObj.href + ""); }));