Sha256: 81f0ca3b1a59c55b833039527d5f7c0eb68cd1860cd5a4717205fee4af60d759

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

module OperaWatir
  class QuickAddressField < QuickEditField

    # Checks the type of the widget is correct
    #
    # @private
    def correct_type?
      @element.getType == WIDGET_ENUM_MAP[:addressfield]
    end

    # Enters the url into the address field, and waits for page loading 
    # to finish
    #
    # @param  [String] URL to load
    # @return [String] text in the address field after the page is loaded
    #                  or a blank string
    def load_page_with_url(url)
      # Enters text in a field and then hits enter
      enter_text_and_hit_enter(url)
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
operawatir-0.3.2-jruby lib/operawatir/quickwidgets/quick_addressfield.rb