fix bad merge
This commit is contained in:
parent
d85bfc6825
commit
fd6a3d0a75
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue