class Watir::Locators::TextField::SelectorBuilder::XPath
Public Instance Methods
lhs_for(building, key)
click to toggle source
Calls superclass method
Watir::Locators::Element::SelectorBuilder::XPath#lhs_for
# File lib/watir-webdriver/locators/text_field/selector_builder/xpath.rb, line 6 def lhs_for(building, key) if building == :input && key == :text "@value" elsif building == :textarea && key == :value "text()" else super end end