I am trying to navigate through all the pages(links) in the following HTML code :

<div class="ajax_paginator">
<li class="prev"><a href="#">«</a></li>
<li class="p1 current"><a href="#">1</a></li>
<li class="p2"><a href="#">2</a></li>
<li class="p3"><a href="#">3</a></li>
<li class="p4"><a href="#">4</a></li>
<li class="p944"><a href="#">944</a></li>
<li class="next"><a href="#">»</a></li>

I am using Webbrowser control(C#) to access the html and stuck at this point since all the href given above are similar and I cannot proceed. Please help.


Stuck with what?

If there are links, are you trying to extract all of the links, then make either a browser or browser control go to those links in order?

...or something else?