lib/page-object/elements/span.rb in meeane-page-object-0.1.10 vs lib/page-object/elements/span.rb in meeane-page-object-0.1.11

- old
+ new

@@ -1,19 +1,19 @@ -module PageObject - module Elements - class Span < Element - - protected - - def self.watir_finders - [:class, :id, :index, :text, :title, :xpath] - end - - def self.selenium_finders - [:class, :css, :id, :name, :text, :title, :xpath, :index] - end - end - - ::PageObject::Elements.tag_to_class[:span] = ::PageObject::Elements::Span - - end -end +module PageObject + module Elements + class Span < Element + + protected + + def self.watir_finders + [:class, :id, :index, :text, :title, :xpath] + end + + def self.selenium_finders + [:class, :css, :id, :name, :text, :title, :xpath, :index] + end + end + + ::PageObject::Elements.tag_to_class[:span] = ::PageObject::Elements::Span + + end +end