Hi, Started Watir last week. Great open source tool. How can I use if inside a ie.link loop i.e., I am looking for n specific links within the page. like below - which results in error!
item_search="blah.com" ie.links.each do |l| ans=ie.link(:url,/#{item_search}/).exists? if ans then ctr=ctr+1 end end Thanks --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5543&messageID=15415#15415 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general