Sha256: 88d1dbd60d0af925351f5cbe29c9ebaa1b6a687318133ab1fdcf467fbd32bdc7

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

require_relative 'example_menu'

class ExamplePage < WebPage
  URL = '/'
  validates :url, pattern: /\A(?:.*?:\/\/)?[^\/]*\/?\z/

  add_field_locator :search_input, 'lst-ib'
  add_button_locator :search_btn, 'btnK'

  include ExampleMenu

  def fill_keyword(data)
    fill_in field_locator(:search_input), data
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
howitzer-1.1.1 generators/pages/templates/example_page.rb
howitzer-1.1.0 generators/pages/templates/example_page.rb
howitzer-1.0.2 generators/pages/templates/example_page.rb