Sha256: 0d69d67a74435e1c52cb5520e6545caaa2f1a6cb60a4bab2c6abd50898603997
Contents?: true
Size: 264 Bytes
Versions: 3
Compression:
Stored size: 264 Bytes
Contents
module <%= name.split('_').map(&:capitalize).join %> class Results < WatirDrops::PageObject elements(:results) { browser.divs(class: 'rc') } element(:title) { |element| element.h3 } def first_result title(results.first).text end end end
Version data entries
3 entries across 3 versions & 1 rubygems