Sha256: 1fb480f06b33580c41914e4cc121314ecaa4873f5ec7423871ff66cb37f31ab4
Contents?: true
Size: 490 Bytes
Versions: 11
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true module Capybara::Selenium::Driver::InternetExplorerDriver 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) } end end
Version data entries
11 entries across 11 versions & 2 rubygems