1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

fix bad merge

This commit is contained in:
Thomas Walpole 2016-09-19 10:43:14 -07:00
parent d85bfc6825
commit fd6a3d0a75

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(