Sha256: f8f5472de3cbe47d916b298e2558e0fd7a890776bc931002d266ccd719054f52
Contents?: true
Size: 299 Bytes
Versions: 6
Compression:
Stored size: 299 Bytes
Contents
module WatirFramework class Home < WatirDrops::PageObject element(:search_term) { browser.text_field(name: 'q')} element(:submit) { browser.button(name: 'btnG') } page_url { 'https://www.google.com' } def search(data) fill_form(data) submit.click end end end
Version data entries
6 entries across 6 versions & 1 rubygems