Sha256: 1c3f6c48f855978bc7c1c07a4a17cf9fecc48bd17e6fe38e5ed65641d7d74899

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

module PageObject
  module Platforms
    module WatirImage
      
      #
      # Return the width of the image.
      #
      def width
        @element.width
      end

      #
      # Return the height of the image
      #
      def height
        @element.height
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
page-object-0.2 lib/page-object/platforms/watir_image.rb
page-object-0.1.1 lib/page-object/platforms/watir_image.rb
page-object-0.1 lib/page-object/platforms/watir_image.rb
page-object-0.0.5 lib/page-object/platforms/watir_image.rb
page-object-0.0.4 lib/page-object/platforms/watir_image.rb
page-object-0.0.3 lib/page-object/platforms/watir_image.rb