Get table row count in watir -
how table row count in watir.
i tried row_count function gives error.
table = $browser.table(:id,"student_list") table.row_count() this gives following error.
nomethoderror: undefined method `row_count' < #watir::table:0x000000034ee2f8
use line
puts $browser.table(:id,"student_list").rows.count or
puts $browser.table(:id,"student_list").rows.length
Comments
Post a Comment