Joel Pearson wrote in post #1095530:
> I think this should do it:
> driver.find_element(:id,"filtersetedit_fieldNames").attribute('innerHTML')

Yes,the above worked.

Now, one point is that - the values say "Smith" will be in my Excel 
column,from there how should I create such "RegEx". I am thinking about 
that.

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