You can use `XPATH` with "selenium-webdriver". I hope that will work. 
You didn't give here the html code.If you provide I can give you a 
better idea.

Thanks

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