Sha256: 53ab322db14b26ad8fc979094d8b8373d59723eb0dc7a455ad1ba3353edc1304

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

# This class is example of web page
class ExamplePage < Howitzer::Web::Page
  path '/'
  validate :url, %r{\A(?:.*?://)?[^/]*/?\z}

  section :menu

  element :search_input, :fillable_field, 'lst-ib'
  element :search_btn, :button, 'btnK'

  def fill_keyword(data)
    search_input_element.set(data)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/web/templates/example_page.rb
howitzer-2.6.0 generators/web/templates/example_page.rb
howitzer-2.5.0 generators/web/templates/example_page.rb
howitzer-2.4.0 generators/web/templates/example_page.rb
howitzer-2.3.0 generators/web/templates/example_page.rb