class PageObject::Elements::Media
Public Instance Methods
autoplay?()
click to toggle source
# File lib/page-object/elements/media.rb, line 6 def autoplay? attribute(:autoplay) end
duration()
click to toggle source
# File lib/page-object/elements/media.rb, line 18 def duration duration = attribute(:duration) return duration.to_f if duration end
ended?()
click to toggle source
# File lib/page-object/elements/media.rb, line 28 def ended? attribute(:ended) end
has_controls?()
click to toggle source
# File lib/page-object/elements/media.rb, line 10 def has_controls? attribute(:controls) end
loop?()
click to toggle source
# File lib/page-object/elements/media.rb, line 36 def loop? attribute(:loop) end
muted?()
click to toggle source
# File lib/page-object/elements/media.rb, line 40 def muted? attribute(:muted) end
paused?()
click to toggle source
# File lib/page-object/elements/media.rb, line 14 def paused? attribute(:paused) end
seeking?()
click to toggle source
# File lib/page-object/elements/media.rb, line 32 def seeking? attribute(:seeking) end
volume()
click to toggle source
# File lib/page-object/elements/media.rb, line 23 def volume volume = attribute(:volume) return volume.to_i if volume end