由于C#的web控件不能浏览手机网页,所以我在网上下载了个注册表之后就能上了,但是网页中的一些链接会变成普通的文本,我查看了源代码后发现这些变成普通文本的链接的标记是
<anchor>确定查询
<go method="post" href="r56.jsp?a=x0u8f(8i8aX3o&0O=3341">
<postfield name="f_page" value="aHome/wapUserQueryList"/>
<postfield name="u" value="$(user)" />
<postfield name="place" value="game" />
<postfield name="a" value="" />
</go>
</anchor>
,本来提取普通链接可以HtmlElementCollection elementsByTagName = this.wb_main.Document.GetElementsByTagName("a"");
这样子解决然后再进行自动点击,现在我先问下怎样才能提取到标记为go method="post"的链接并进行自动点击该链接啊,求高手指教,谢了
<anchor>确定查询
<go method="post" href="r56.jsp?a=x0u8f(8i8aX3o&0O=3341">
<postfield name="f_page" value="aHome/wapUserQueryList"/>
<postfield name="u" value="$(user)" />
<postfield name="place" value="game" />
<postfield name="a" value="" />
</go>
</anchor>
,本来提取普通链接可以HtmlElementCollection elementsByTagName = this.wb_main.Document.GetElementsByTagName("a"");
这样子解决然后再进行自动点击,现在我先问下怎样才能提取到标记为go method="post"的链接并进行自动点击该链接啊,求高手指教,谢了
帮你顶顶先