lib/page-object/nested_elements.rb in page-object-0.5.3 vs lib/page-object/nested_elements.rb in page-object-0.5.4
- old
+ new
@@ -94,7 +94,11 @@
end
def paragraph_element(identifier={:index => 0})
@platform.paragraph_for(identifier)
end
+
+ def file_field_element(identifier={:index => 0})
+ @platform.file_field_for(identifier)
+ end
end
end