lib/symbiont/web_objects/table.rb in symbiont-0.1.9 vs lib/symbiont/web_objects/table.rb in symbiont-0.2.0
- old
+ new
@@ -48,9 +48,13 @@
def row_xpath
".//child::tr"
end
+ def initialize_row(element)
+ ::Symbiont::WebObjects::TableRow.new(element)
+ end
+
private
def find_by_title(row_text)
#web_object.rows.find_index {|row| row[0].text == row_text}
web_object.rows.find_index do |row|