开发者

How to get all element tags <a> from current page

I need to get all element tags from current page into a list by using WatiN codes.

I have used t开发者_如何学JAVAhis:

var listItmes=ie.Links;  [not getting all links]

Please tell me the solution to this.


That should get you all the links on the current page. The one exception I've found is if you have a frame on the page (in which case you need to look for links in the frame).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜