cuprite
cuprite copied to clipboard
window_opened_by doesn't work for pages with iframes
Spec code
window = window_opened_by do
click_link 'Link to a page with iframe'
end
within_window window do
expect(page).to have_content 'Wrapper page'
end
Expected
Find Wrapper page text
Actual
The page text only includes contents from iframe. I verified with capybara and selenium-webdriver that it behaves so that you get the Wrapper page contents.
I would appreciate a failing test
This is fixed by rubycdp/ferrum#77