# File lib/capybara/poltergeist/browser.rb, line 92 def within_window(name, &block) command 'push_window', name yield ensure command 'pop_window' end