我有一个由cef chronium(对于wpf)浏览器加载的html页面。其内容是:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv = "cache-control" content = "max-age=0">
<meta http-equiv = "cache-control" content = "no-cache, must-revalidate">
<meta http-equiv = "expires" content = "0">
<meta http-equiv = "expires" content = "Tue, 01 Jan 1970 1:00:00 GMT">
<meta http-equiv = "pragma" content = "no-cache">
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="styles/p2uweb.css" />
<title></title>
<script src="working/analitics.js"></script>
<script src="scripts/jq.min.js"></script>
<script src="scripts/jq.json.js"></script>
<script src="scripts/jq.webforms.js"></script>
<script src="scripts/jq.ismbrows.js"></script>
<script src="scripts/jq.popups.js"></script>
<script src="scripts/jq.cvv.js"></script>
<script src="scripts/jq.sbinder1.js"></script>
<script src="scripts/jq.hashstring.js"></script>
<script src="scripts/common.js"></script>
<script src="working/p2uweb.js"></script>
</head>
<body>
<div id="switcher"></div>
<div id="forms"></div>
</body>
</html>
我想使用HtmlAgility.HtmlDocument解析此页面,但我看不到正文中的任何控件(除了分区)。它们都是由标头中声明的一些javascript文件加载的。我怎样才能收到整页内容? 当我打开谷歌浏览器时,我可以按F12并查看所有加载的内容。我怎么能自己做这些事呢?