If you give the HTML to Nokogiri you should be able to search it much 
more accurately.

Also, if you haven't tried it, give Watir-Webdriver a try. There's a 
much better API which should give you more flexibility when searching.

-- 
Posted via http://www.ruby-forum.com/.