mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fix simple nodes to work with new async stuff
This commit is contained in:
parent
ad8e0a4cb6
commit
b056efbfa5
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ module Capybara
|
||||||
native.xpath(xpath).map { |node| self.class.new(node) }
|
native.xpath(xpath).map { |node| self.class.new(node) }
|
||||||
end
|
end
|
||||||
|
|
||||||
def wait?
|
def wait_until
|
||||||
false
|
yield # simple nodes don't need to wait
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue