class Watir::Locators::TextField::SelectorBuilder::XPath

Public Instance Methods

lhs_for(building, key) click to toggle source
# 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