Sha256: e04abab1d348d4f0a9052e5a28b25635c66a6c19b6fd2c2bbb49366462915188

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

require_relative 'example_menu'

class ExamplePage < WebPage
  URL = '/'
  URL_PATTERN = /#{Regexp.escape(settings.app_host)}\/?/

  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

2 entries across 2 versions & 1 rubygems

Version Path
howitzer-0.0.3 generators/pages/templates/example_page.rb
howitzer-0.0.1 generators/pages/templates/example_page.rb