Merge pull request #1039 from twalpole/deprecate_attached
Deprecate the Node#attached? method
This commit is contained in:
commit
d53cf7c214
|
@ -151,6 +151,8 @@ module Capybara::Webkit
|
||||||
end
|
end
|
||||||
|
|
||||||
def attached?
|
def attached?
|
||||||
|
warn "[DEPRECATION] The Capybara::Webkit::Node#attached? " \
|
||||||
|
"method is deprecated without replacement."
|
||||||
@browser.command("Node", "isAttached", native) == "true"
|
@browser.command("Node", "isAttached", native) == "true"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue