Sha256: 4584dc31616a98c42445836bfd5750386deb198238db3c02b4f07b298f01880e
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
module PageObject module Elements class Image < Element # # Return the width of the image. # def width element.width end # # Return the height of the image # def height element.height end end ::PageObject::Elements.tag_to_class[:img] = ::PageObject::Elements::Image end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
page-object-2.2 | lib/page-object/elements/image.rb |