Sha256: ad318d0a67cc5444d6c67522323bf425e0fb2920e85362b9bec992f4f2bf4afe
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
module <%= name.capitalize %> 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 | generators/new_project/templates/lib/pages/home.rb.erb |