if (webBrowser1.DocumentText.IndexOf(\"Page: 1\") != -1)
on the above line i am getting this exception
System.IO.FileNotFoun
Try webBrowser1.Document.Body.InnerText.
webBrowser1.Document.Body.InnerText