[Wtr-general] How to retrieve <TH> in table

Brad forum-watir-users at openqa.org
Fri Jan 19 16:24:42 EST 2007


In trying the following, I get the header values.

my_array = $browser.table(:id , 'ctl00_MasterContentPlaceHolder_DomainGridView').row_values(1)
p my_array

Why doesn't '.to_a' give the first row (Header)?

Thanks,
Brad
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6193&messageID=17411#17411


More information about the Wtr-general mailing list