Sha256: d34732f5c952c5613ca84fa20371ba672289411e81746ab63f454f42e53012ae

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

module Pages
    class GoogleSearch < Locators::GoogleSearch
  
      def initialize
        super()
      end
  
      def enter_text_and_search(string)
        @SEARCH_BOX.is_present_with_wait?
        @SEARCH_BOX.clear_and_send_keys(string)
        @SEARCH_BUTTON.scroll_to_locator
        @SEARCH_BUTTON.move_and_click
      end

      def is_results_page_displayed?
        @AFTER_SEARCH_IMAGE.is_present_with_wait?
      end

    end
  end
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teber-library-1.0.0 sample/features/pages/googleSearch.rb