开发者

Calling javascript function from HtmlAgilityPack

开发者 https://www.devze.com 2023-01-05 20:22 出处:网络
I want to use HtmlAgilityPack in a form application to read some pages content but on the page search subpage I need to invoke the javascript and the link looks like this:

I want to use HtmlAgilityPack in a form application to read some pages content but on the page search subpage I need to invoke the javascript and the link looks like this:

<a href="javascript:__doPostBack('lnkbtnNext','')" id="lnkbtnNext">Następny >></a>

How ca开发者_JAVA百科n I Call this function from my C# desktop application?


If you trust the source, it looks to me like you'd be better off invoking the WebBrowser control. HtmlAgilityPack does not provide a scripting engine.

0

精彩评论

暂无评论...
验证码 换一张
取 消