lib/cucumber/pickles/helpers/node_finders.rb in pickles-0.1.1 vs lib/cucumber/pickles/helpers/node_finders.rb in pickles-0.1.2
- old
+ new
@@ -39,10 +39,10 @@
if index.nil?
el_alias, index = Locator::Index.execute(el_alias.to_s)
end
- el_alias = el_alias.to_sym
+ el_alias = el_alias.to_s
if xpath = Pickles.config.xpath_node_map[el_alias]
xpath = xpath.respond_to?(:call) ? xpath.call(locator) : xpath
search_params = [:xpath, xpath, wait: 0]