Closed twalpole closed 6 years ago
@jferris @mhoran What was the Node#attached?
method for? It doesn't appear to be used/tested anywhere in the code
I believe this is a relic of backwards compatibility with Capybara.
On Wed, Nov 08, 2017 at 05:57:38PM +0000, Thomas Walpole wrote:
@jferris @mhoran What was the
Node#attached?
method for? It doesn't appear to be used/tested anywhere in the code-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/capybara-webkit/pull/1037#issuecomment-342901212
-- Matt Horan matt@matthoran.com http://matthoran.com/
@mhoran Ok, PR #1039 deprecates it - unless you think it is safe to just remove.
@jferris Suggestions applied - will merge once tests pass
This changes Node#[] to match the behavior of other drivers in preferring properties over attributes. It also changes the
Node
command to JSON encode the return so we can differentiate between boolean responses and strings. Fixes issue #914