Sha256: b1baee5c83d92568de0195727db7cc7d35f024b18334628040ab8ea84c6f21ad
Contents?: true
Size: 301 Bytes
Versions: 1
Compression:
Stored size: 301 Bytes
Contents
module WatirFramework class Home < WatirDrops::PageObject element(:signup) { browser.text_field(name: 'q')} element(:submit) { browser.button(name: 'btnG') } page_url { 'https://www.google.com' } def search(string) self.signup = string submit.click end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir_framework-0.1.1 | lib/watir_framework/pages/home.rb |