lib/generators/templates/lib/pages/results.rb.erb in watir_framework-0.1.6 vs lib/generators/templates/lib/pages/results.rb.erb in watir_framework-0.1.7
- old
+ new
@@ -1,8 +1,8 @@
module <%= name.split('_').map(&:capitalize).join %>
class Results < WatirDrops::PageObject
- elements(:results) { browser.divs(class: 'rc') }
+ elements(:results) { browser.divs(class: 'g') }
element(:title) { |element| element.h3 }
def first_result
title(results.first).text
end