Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add support for TableHeader, TableFooter and TableBody collections

  • Loading branch information...
commit 3c0f2189175e35b3ec24984344e1aed28d2d5bdb 1 parent bdc3673
@jarmo jarmo authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  watir/lib/watir/collections.rb
  2. +1 −1  watir/lib/watir/table.rb
View
2  watir/lib/watir/collections.rb
@@ -45,7 +45,7 @@ class Inses < ElementCollections
def element_class; Ins; end
end
- %w[Link Li Map Area Image Table TableRow TableCell
+ %w[Link Li Map Area Image Table TableRow TableCell TableHeader TableFooter TableBody
Label Pre P Span Div Dl Dt Dd Strong Em Del
Font H1 H2 H3 H4 H5 H6 Meta Ol Ul FieldSet Option].each do |element|
module_eval %Q{
View
2  watir/lib/watir/table.rb
@@ -80,7 +80,7 @@ def to_s
def each
assert_exists
@o.rows.each do |row|
- yield TableRow.new(@container, :ole_object, row)
+ yield TableRow.new(self, :ole_object, row)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.