I think this should do it:
driver.find_element(:id,"filtersetedit_fieldNames").attribute('innerHTML')

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