From: Bret Pettichord Date: 2008-11-11T00:24:30+09:00 Subject: Re: Watir: links with similar text in a page. How to access? ------=_Part_46738_32743075.1226330793810 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline ie.link(:text => /Installation instruction/, :index => 2).click On Mon, Nov 10, 2008 at 4:43 AM, Mandeep Baruah wrote: > Hi All, > > I need Help! > In a page I am having two section(windows and linux) with has some > installation instructions. This "Installation instruction" text link > which calls some javascript functions are placed twice in the page (once > under Windows and once under linux). > With the command "ie.link(:text, /Installation instruction/).click" I am > only able to click the first occurance of the text, under windows. How > to click the second instance of the same text(i.e, Installation > instruction) link, under linux?. > > Thanks in advance, > Mandeep > -- > Posted via http://www.ruby-forum.com/. > > -- Bret Pettichord GTalk: bpettichord@gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://wtr.rubyforge.org Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist ------=_Part_46738_32743075.1226330793810--