Fix simple nodes to work with new async stuff
This commit is contained in:
parent
ad8e0a4cb6
commit
b056efbfa5
|
@ -124,8 +124,8 @@ module Capybara
|
|||
native.xpath(xpath).map { |node| self.class.new(node) }
|
||||
end
|
||||
|
||||
def wait?
|
||||
false
|
||||
def wait_until
|
||||
yield # simple nodes don't need to wait
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue