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:
parent
d85bfc6825
commit
fd6a3d0a75
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue