# File lib/capybara/session.rb, line 184 def within(*args) new_scope = if args.size == 1 && Capybara::Node::Base === args.first args.first else find(*args) end begin scopes.push(new_scope) yield ensure scopes.pop end end