开发者

HTMLAgilityPack reading values from screen

开发者 https://www.devze.com 2023-01-24 04:33 出处:网络
I am trying to get the value of a timer using the HtmlAgilityPack however when I get the innerText by the element ID it returns --:--:--

I am trying to get the value of a timer using the HtmlAgilityPack however when I get the innerText by the element ID it returns --:--:--

Is there any way to g开发者_开发知识库et the time value since it uses AJAX?


By using HtmlAgilityPack you can read only those values that rendered in the final HTML. if the timer is created by javascript or AJAX it's not possible to read it using this library cause that information is not exists in the rendered HTML

If you need to read the timer loaded by ajax try to find the service it calls you can use Firebug to find out

Hope it helps

0

精彩评论

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