Fixing another bug in detecting fields via XPath

This commit is contained in:
Bryan Helmkamp 2008-11-26 20:47:50 -05:00
parent 4f530cfa29
commit 8770ccb563

View File

@ -26,7 +26,7 @@ module Webrat
end end
fields_by_type(field_types).detect do |possible_field| fields_by_type(field_types).detect do |possible_field|
possible_field.path == element.xpath possible_field.path == expected_path
end end
end end