Sha256: f4ff21521d08fcd389dbc9a1a2ed09daeb9ec50fa8a9839f46e283eea0a1ce80

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

module PageObject
  module Platforms
    module WatirElement
      
      #
      # return true if an element is visible
      #
      def visible?
        @element.present?
      end

      #
      # return true if an element exists
      #
      def exists?
        @element.exists?
      end
      
      #
      # return the text for the element
      #
      def text
        @element.text
      end
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.2 lib/page-object/platforms/watir_element.rb