fix bad merge

This commit is contained in:
Thomas Walpole 2016-09-19 10:43:14 -07:00
parent d85bfc6825
commit fd6a3d0a75
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ module Capybara
end
def locate_field(xpath, locator, **options)
locate_field = xpath #need to save original xpath for the label wrap
locate_xpath = xpath #need to save original xpath for the label wrap
if locator
locator = locator.to_s
attr_matchers = XPath.attr(:id).equals(locator).or(