Re: [Wtr-general] return table element content type value

2007-06-27 Thread Charley Baker
There is no type for an html element. They are all strings. You can certainly add your own validations on the strings you get back, regexes may help: http://www.rubycentral.com/book/tut_stdtypes.html -Charley On 6/27/07, Max Russell [EMAIL PROTECTED] wrote: Is there a way to return the

Re: [Wtr-general] return table element content type value

2007-06-27 Thread marekj
Max. I am curious what you are trying to do because I may have to do something similar. For example. Running this code: $ie.tables.each do |table| puts table.class puts table table.each do |row| puts row.class puts row row.each do |cell| puts cell.class end end end will