Class: Watir::ElementLocator

Inherits:
Object
  • Object
show all
Defined in:
lib/watir-customize_elements.rb

Instance Method Summary collapse

Instance Method Details

#normalize_selector(how, what) ⇒ Object



66
67
68
69
70
71
72
73
74
# File 'lib/watir-customize_elements.rb', line 66

def normalize_selector(how, what)
  case how
    # supporting "name" attribute

    when :name
      [how, what]
    else
      old_normalize_selector(how, what)
  end
end

#old_normalize_selectorObject



64
# File 'lib/watir-customize_elements.rb', line 64

alias :old_normalize_selector :normalize_selector