lib/druid/elements/div.rb in druid-ts-0.0.1 vs lib/druid/elements/div.rb in druid-ts-1.1.0
- old
+ new
@@ -1,10 +1,12 @@
module Druid
module Elements
class Div < Element
def self.finders
- [:class, :id, :index, :xpath]
+ [:class, :id, :text, :index, :xpath]
end
end
+
+ Druid::Elements.tag_to_class[:div] = Druid::Elements::Div
end
end