Class: Watir::TextFieldLocator
- Defined in:
- lib/watirmark/extensions/webdriver_extensions.rb
Instance Method Summary collapse
Instance Method Details
#check_deprecation(element) ⇒ Object
160 161 162 163 164 |
# File 'lib/watirmark/extensions/webdriver_extensions.rb', line 160 def check_deprecation(element) if element.tag_name.downcase == 'textarea' warn "Locating textareas with '#text_field' is deprecated. Please, use '#textarea' method instead for #{@selector}" end end |