mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
Merge pull request #1039 from twalpole/deprecate_attached
Deprecate the Node#attached? method
This commit is contained in:
commit
d53cf7c214
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ module Capybara::Webkit
|
|||
end
|
||||
|
||||
def attached?
|
||||
warn "[DEPRECATION] The Capybara::Webkit::Node#attached? " \
|
||||
"method is deprecated without replacement."
|
||||
@browser.command("Node", "isAttached", native) == "true"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue