Sha256: d430b140b292c431ef002fc5642a5ee3303998b5a77fdd3e73b1ec01b2448e6b

Contents?: true

Size: 379 Bytes

Versions: 14

Compression:

Stored size: 379 Bytes

Contents

module PageObject
  module Platforms
    module WatirWebDriver

      module TextArea
        
        #
        # Set the value of the TextArea
        #
        def value=(new_value)
          element.send_keys(new_value)
        end
        
        #
        # Clear the TextArea
        #
        def clear
          element.wd.clear
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
page-object-0.6.1 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.6 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.5 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.4 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.3 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.2 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.1 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.5.0 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.4.4 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.4.3 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.4.2 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.4.1 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.4.0 lib/page-object/platforms/watir_webdriver/text_area.rb
page-object-0.3.2 lib/page-object/platforms/watir_webdriver/text_area.rb