module Capybara::Apparition::Browser::Frame
Public Instance Methods
switch_to_frame(frame)
click to toggle source
# File lib/capybara/apparition/browser/frame.rb, line 6 def switch_to_frame(frame) case frame when Capybara::Node::Base current_page.push_frame(frame) when :parent current_page.pop_frame when :top current_page.pop_frame(top: true) end end