Sha256: f2f999160fbeae4ef28cf6a926d5850d5d9a0bb97e4a38bba02f94dc15c1c443
Contents?: true
Size: 330 Bytes
Versions: 4
Compression:
Stored size: 330 Bytes
Contents
module <%= name.split('_').map(&:capitalize).join %> 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
4 entries across 4 versions & 1 rubygems