lib/cucumber/pickles/helpers/node_finders.rb in pickles-0.1.2 vs lib/cucumber/pickles/helpers/node_finders.rb in pickles-0.1.3

- old
+ new

@@ -56,10 +56,10 @@ if index within.all(*search_params)[index - 1] else _rescued_find(search_params, locator || el_alias, within: within, message: "Detecting by #{xpath || css}") do raise Capybara::ElementNotFound, - "Unable to detect node by locator #{locator}", + "Unable to detect node by locator #{css || xpath} #{locator}", caller end end end