Sha256: 4914dda83aac0da1fa7e3143efb80a3b9f7af21b8f102d827c5011bb45456369

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require_relative 'example_menu'

class ExamplePage < WebPage
  URL = '/'
  validates :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

1 entries across 1 versions & 1 rubygems

Version Path
howitzer-1.0.1 generators/pages/templates/example_page.rb