From: Paul Lutus Date: 2006-12-06T07:30:08+09:00 Subject: Re: ie.link(:text, "Next").click curious wrote: > I am navigating through web page using WATIR.. > > and as you know, many web pages has "Next" link that allows us to go to > the next page by clicking this "Next" link. > > Now when the page reaches the last page, although "Next" is present, > but it is no longer a link. > > At this point, if my code still goes to: > > ie.link(:text, "Next").click > > then I get the error message.. As others have replied to one of your other posts on this topic, why not trap the error using "rescue", and move on from there? -- Paul Lutus http://www.arachnoid.com