Sha256: 7e3b48c09a831715dbbc747c9f5446ff2fc5ba4fad79669b93853c260c7cbcbf
Contents?: true
Size: 971 Bytes
Versions: 33
Compression:
Stored size: 971 Bytes
Contents
module TestCentricity class Video < Media def initialize(name, parent, locator, context) super @type = :video end # Return video Height property # # @return [Integer] video height # @example # height = video_player.video_height # def video_height obj, = find_element object_not_found_exception(obj, :video) obj.native.attribute('videoHeight') end # Return video Width property # # @return [Integer] video width # @example # width = video_player.video_width # def video_width obj, = find_element object_not_found_exception(obj, :video) obj.native.attribute('videoWidth') end # Return video poster property # # @return poster value # @example # poster = video_player.poster # def poster obj, = find_element object_not_found_exception(obj, :video) obj.native.attribute('poster') end end end
Version data entries
33 entries across 33 versions & 1 rubygems