module Capybara::Selenium::Driver::InternetExplorerDriver
Public Instance Methods
Source
# File lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb, line 6 def switch_to_frame(frame) return super unless frame == :parent # iedriverserver has an issue if the current frame is removed from within it # so we have to move to the default_content and iterate back through the frames handles = @frame_handles[current_window_handle] browser.switch_to.default_content handles.tap(&:pop).each { |fh| browser.switch_to.frame(fh.native) } end
Calls superclass method
Private Instance Methods
Source
# File lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb, line 18 def build_node(native_node, initial_cache = {}) ::Capybara::Selenium::IENode.new(self, native_node, initial_cache) end