lib/page-object/elements/video.rb in page-object-1.1.1 vs lib/page-object/elements/video.rb in page-object-1.2.0
- old
+ new
@@ -1,18 +1,8 @@
module PageObject
module Elements
class Video < Media
- def height
- height = attribute(:height)
- return height.to_i if height
- end
-
- def width
- width = attribute(:width)
- return width.to_i if width
- end
-
end
::PageObject::Elements.type_to_class[:video] = ::PageObject::Elements::Video
end
end