lib/page-object/nested_elements.rb in page-object-0.7.2 vs lib/page-object/nested_elements.rb in page-object-0.7.3
- old
+ new
@@ -226,7 +226,15 @@
end
def audio_elements(identifier={:index => 0})
@platform.audios_for(identifier)
end
+
+ def video_element(identifier={:index => 0})
+ @platform.video_for(identifier)
+ end
+
+ def video_elements(identifier={:index => 0})
+ @platform.video_for(identifier)
+ end
end
end