lib/watir/locators/text_field/selector_builder/xpath.rb in watir-6.0.0.beta5 vs lib/watir/locators/text_field/selector_builder/xpath.rb in watir-6.0.0
- old
+ new
@@ -4,11 +4,9 @@
class SelectorBuilder
class XPath < Element::SelectorBuilder::XPath
def lhs_for(building, key)
if building == :input && key == :text
"@value"
- elsif building == :textarea && key == :value
- "text()"
else
super
end
end
end