Sha256: be0d288efe389d059cd5e7357d69bf55c715edb722d06b54b564cc4d01fa8a2c
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module <%= name.split('_').map(&:capitalize).join %> class Results < Base element(:titles) { |text| browser.h3(text: /#{text}/) } def title?(text) titles(text).wait_until(&:present?) true rescue Watir::Wait::TimeoutError false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
watir_install-0.3.1 | lib/watir_install/generators/example/spec/support/pages/results.rb.tt |
watir_install-0.3.0 | lib/watir_install/generators/example/spec/support/pages/results.rb.tt |